Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/fs/tmpfs Fix omitted VN_KNOTE(fvp, NOTE_RENAME) in tmpfs...
details: https://anonhg.NetBSD.org/src/rev/a34f0c03d982
branches: trunk
changeset: 779196:a34f0c03d982
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed May 09 22:46:25 2012 +0000
description:
Fix omitted VN_KNOTE(fvp, NOTE_RENAME) in tmpfs_rename.
Missed that line while refactoring tmpfs_rename to use genfs_rename.
diffstat:
sys/fs/tmpfs/tmpfs_rename.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 2ef77645c32b -r a34f0c03d982 sys/fs/tmpfs/tmpfs_rename.c
--- a/sys/fs/tmpfs/tmpfs_rename.c Wed May 09 22:29:06 2012 +0000
+++ b/sys/fs/tmpfs/tmpfs_rename.c Wed May 09 22:46:25 2012 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index