path: root/sys/sys/mount.h
diff options
authorMark Johnston <markj@FreeBSD.org>2015-07-05 22:37:33 +0000
committerMark Johnston <markj@FreeBSD.org>2015-07-05 22:37:33 +0000
commit5f34e93c58c81382a7620bdfa69e47380a9615d4 (patch)
tree2b584c1ebc21d09c5c4b2fe8539dd7d22e9cbd7c /sys/sys/mount.h
parent010ba3842c6933428a3fecd3695901bbf8707e4d (diff)
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
Notes: svn path=/head/; revision=285182
Diffstat (limited to 'sys/sys/mount.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/mount.h b/sys/sys/mount.h
index b1678457fa7e..e4eb43d41ebe 100644
--- a/sys/sys/mount.h
+++ b/sys/sys/mount.h
@@ -362,7 +362,7 @@ void __mnt_vnode_markerfree_active(struct vnode **mvp, struct mount *);
#define MNTK_SUSPEND 0x08000000 /* request write suspension */
#define MNTK_SUSPEND2 0x04000000 /* block secondary writes */
#define MNTK_SUSPENDED 0x10000000 /* write operations are suspended */
-#define MNTK_SUSPENDABLE 0x20000000 /* writes can be suspended */
+#define MNTK_UNUSED1 0x20000000
#define MNTK_LOOKUP_SHARED 0x40000000 /* FS supports shared lock lookups */
#define MNTK_NOKNOTE 0x80000000 /* Don't send KNOTEs from VOP hooks */