aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/vfs_subr.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2001-08-27 06:09:56 +0000
committerPeter Wemm <peter@FreeBSD.org>2001-08-27 06:09:56 +0000
commit0f7289022b37be08936b114c0519fe6f3ac43839 (patch)
treea8cac4344907af5683b1c88f1f7e46973765b594 /sys/kern/vfs_subr.c
parent9d170964e4308e9441048ddf2d4219a8c7a2e54a (diff)
downloadsrc-0f7289022b37be08936b114c0519fe6f3ac43839.tar.gz
src-0f7289022b37be08936b114c0519fe6f3ac43839.zip
Notes
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r--sys/kern/vfs_subr.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index b4219025257d..b38bc162e8cf 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -2378,6 +2378,9 @@ loop:
if (vp->v_flag & VXLOCK) /* XXX: what if MNT_WAIT? */
continue;
+ if (vp->v_flag & VNOSYNC) /* unlinked, skip it */
+ continue;
+
if (flags != MNT_WAIT) {
if (VOP_GETVOBJECT(vp, &obj) != 0 ||
(obj->flags & OBJ_MIGHTBEDIRTY) == 0)