From 5f34e93c58c81382a7620bdfa69e47380a9615d4 Mon Sep 17 00:00:00 2001 From: Mark Johnston Date: Sun, 5 Jul 2015 22:37:33 +0000 Subject: 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 --- sys/sys/mount.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/sys/mount.h') 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 */ -- cgit v1.2.3