diff options
author | markj <markj@FreeBSD.org> | 2015-07-05 22:37:33 +0000 |
---|---|---|
committer | markj <markj@FreeBSD.org> | 2015-07-05 22:37:33 +0000 |
commit | d19ba3f89dbe1aa527570d4bbbcc6bf7bacd7db2 (patch) | |
tree | 2b584c1ebc21d09c5c4b2fe8539dd7d22e9cbd7c /sys/ufs/ffs | |
parent | c78ab1ef947f631582f0b1abd43d3568122a79e0 (diff) | |
download | FreeBSD-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/ufs/ffs')
-rw-r--r-- | sys/ufs/ffs/ffs_vfsops.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c index 5d8a501..1f59a86 100644 --- a/sys/ufs/ffs/ffs_vfsops.c +++ b/sys/ufs/ffs/ffs_vfsops.c @@ -1055,8 +1055,7 @@ ffs_mountfs(devvp, mp, td) */ MNT_ILOCK(mp); mp->mnt_kern_flag |= MNTK_LOOKUP_SHARED | MNTK_EXTENDED_SHARED | - MNTK_NO_IOPF | MNTK_UNMAPPED_BUFS | MNTK_SUSPENDABLE | - MNTK_USES_BCACHE; + MNTK_NO_IOPF | MNTK_UNMAPPED_BUFS | MNTK_USES_BCACHE; MNT_IUNLOCK(mp); #ifdef UFS_EXTATTR #ifdef UFS_EXTATTR_AUTOSTART |