summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfgsch <fgsch@openbsd.org>2008-01-17 11:31:56 +0000
committerfgsch <fgsch@openbsd.org>2008-01-17 11:31:56 +0000
commit65bd8dc4a5240c829d22e9d835af87da3d971d7b (patch)
treea634ae7c528637e0329189cb42d29a5b7ed046d1
parentReplace firmware version 2.5.8.0 with 2.13.1.0. Firmware API slightly (diff)
downloadwireguard-openbsd-65bd8dc4a5240c829d22e9d835af87da3d971d7b.tar.xz
wireguard-openbsd-65bd8dc4a5240c829d22e9d835af87da3d971d7b.zip
Notify us of NOTE_LINK on mkdir(2) as well.
ok thib and miod.
-rw-r--r--sys/ufs/ufs/ufs_vnops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ufs/ufs/ufs_vnops.c b/sys/ufs/ufs/ufs_vnops.c
index d2bd1fb978f..ad7b67a2b47 100644
--- a/sys/ufs/ufs/ufs_vnops.c
+++ b/sys/ufs/ufs/ufs_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ufs_vnops.c,v 1.85 2008/01/05 19:49:26 otto Exp $ */
+/* $OpenBSD: ufs_vnops.c,v 1.86 2008/01/17 11:31:56 fgsch Exp $ */
/* $NetBSD: ufs_vnops.c,v 1.18 1996/05/11 18:28:04 mycroft Exp $ */
/*
@@ -1209,7 +1209,7 @@ ufs_mkdir(void *v)
bad:
if (error == 0) {
- VN_KNOTE(dvp, NOTE_WRITE);
+ VN_KNOTE(dvp, NOTE_WRITE | NOTE_LINK);
*ap->a_vpp = tvp;
} else {
dp->i_effnlink--;