Module Name: src
Committed By: riastradh
Date: Wed May 9 22:46:25 UTC 2012
Modified Files:
src/sys/fs/tmpfs: tmpfs_rename.c
Log Message:
Fix omitted VN_KNOTE(fvp, NOTE_RENAME) in tmpfs_rename.
Missed that line while refactoring tmpfs_rename to use genfs_rename.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/fs/tmpfs/tmpfs_rename.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/fs/tmpfs/tmpfs_rename.c
diff -u src/sys/fs/tmpfs/tmpfs_rename.c:1.1 src/sys/fs/tmpfs/tmpfs_rename.c:1.2
--- src/sys/fs/tmpfs/tmpfs_rename.c:1.1 Wed May 9 00:16:07 2012
+++ src/sys/fs/tmpfs/tmpfs_rename.c Wed May 9 22:46:25 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: tmpfs_rename.c,v 1.1 2012/05/09 00:16:07 riastradh Exp $ */
+/* $NetBSD: tmpfs_rename.c,v 1.2 2012/05/09 22:46:25 riastradh Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tmpfs_rename.c,v 1.1 2012/05/09 00:16:07 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tmpfs_rename.c,v 1.2 2012/05/09 22:46:25 riastradh Exp $");
#include <sys/param.h>
#include <sys/errno.h>
@@ -373,6 +373,8 @@ tmpfs_gro_rename(struct mount *mp, kauth
VP_TO_TMPFS_NODE(tdvp)->tn_status |= TMPFS_NODE_MODIFIED;
}
+ VN_KNOTE(fvp, NOTE_RENAME);
+
#if 0 /* XXX */
genfs_rename_cache_purge(fdvp, fvp, tdvp, tvp);
#endif