summaryrefslogtreecommitdiffstats
path: root/sys/fs/nullfs
diff options
context:
space:
mode:
authormarkj <markj@FreeBSD.org>2015-07-05 22:37:33 +0000
committermarkj <markj@FreeBSD.org>2015-07-05 22:37:33 +0000
commitd19ba3f89dbe1aa527570d4bbbcc6bf7bacd7db2 (patch)
tree2b584c1ebc21d09c5c4b2fe8539dd7d22e9cbd7c /sys/fs/nullfs
parentc78ab1ef947f631582f0b1abd43d3568122a79e0 (diff)
downloadFreeBSD-src-d19ba3f89dbe1aa527570d4bbbcc6bf7bacd7db2.zip
FreeBSD-src-d19ba3f89dbe1aa527570d4bbbcc6bf7bacd7db2.tar.gz
Check suspendability on the mountpoint returned by VOP_GETWRITEMOUNT.
This obviates the need for a MNTK_SUSPENDABLE flag, since passthrough filesystems like nullfs and unionfs no longer need to inherit this information from their lower layer(s). This change also restores the pre-r273336 behaviour of using the presence of a susp_clean VFS method to request suspension support. Reviewed by: kib, mjg Differential Revision: https://reviews.freebsd.org/D2937
Diffstat (limited to 'sys/fs/nullfs')
-rw-r--r--sys/fs/nullfs/null_vfsops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/nullfs/null_vfsops.c b/sys/fs/nullfs/null_vfsops.c
index 618090b..64e1e29 100644
--- a/sys/fs/nullfs/null_vfsops.c
+++ b/sys/fs/nullfs/null_vfsops.c
@@ -199,7 +199,7 @@ nullfs_mount(struct mount *mp)
}
mp->mnt_kern_flag |= MNTK_LOOKUP_EXCL_DOTDOT;
mp->mnt_kern_flag |= lowerrootvp->v_mount->mnt_kern_flag &
- (MNTK_SUSPENDABLE | MNTK_USES_BCACHE);
+ MNTK_USES_BCACHE;
MNT_IUNLOCK(mp);
mp->mnt_data = xmp;
vfs_getnewfsid(mp);
OpenPOWER on IntegriCloud