Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/ufs Use VN_KNOTE() to send our NOTE_ATTRIB and NOTE_...
details: https://anonhg.NetBSD.org/src/rev/2467b86d806f
branches: trunk
changeset: 989049:2467b86d806f
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sun Oct 10 23:02:10 2021 +0000
description:
Use VN_KNOTE() to send our NOTE_ATTRIB and NOTE_REVOKE events.
diffstat:
sys/ufs/ufs/ufs_acl.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r f06f49c932ec -r 2467b86d806f sys/ufs/ufs/ufs_acl.c
--- a/sys/ufs/ufs/ufs_acl.c Sun Oct 10 20:14:09 2021 +0000
+++ b/sys/ufs/ufs/ufs_acl.c Sun Oct 10 23:02:10 2021 +0000
@@ -36,7 +36,7 @@
#if 0
__FBSDID("$FreeBSD: head/sys/ufs/ufs/ufs_acl.c 356669 2020-01-13 02:31:51Z mjg $");
#endif
-__KERNEL_RCSID(0, "$NetBSD: ufs_acl.c,v 1.1 2020/05/16 18:31:54 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ufs_acl.c,v 1.2 2021/10/10 23:02:10 thorpej Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ffs.h"
@@ -425,7 +425,7 @@
DIP_ASSIGN(ip, mode, ip->i_mode);
ip->i_flag |= IN_CHANGE;
- KNOTE(&vp->v_klist, NOTE_REVOKE);
+ VN_KNOTE(vp, NOTE_REVOKE);
error = UFS_UPDATE(vp, NULL, NULL, 0);
if (lock)
@@ -607,7 +607,7 @@
UFS_WAPBL_END(vp->v_mount);
}
- KNOTE(&vp->v_klist, NOTE_ATTRIB);
+ VN_KNOTE(vp, NOTE_ATTRIB);
return (error);
}
Home |
Main Index |
Thread Index |
Old Index