aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2021-12-10 20:06:28 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2021-12-10 20:06:28 +0000
commitdd2f6e14ef33e753ddd0fc31d96a5e461cec92e9 (patch)
tree9abb7a71a55a69454f230de8a4fca0912eef9070
parent4dd23ae15038a77866d1e9662723970c0f872ae2 (diff)
downloadsrc-dd2f6e14ef33e753ddd0fc31d96a5e461cec92e9.tar.gz
src-dd2f6e14ef33e753ddd0fc31d96a5e461cec92e9.zip
vfs: annotate all unused MNTK_ flags
-rw-r--r--sys/sys/mount.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/sys/mount.h b/sys/sys/mount.h
index 55672affccdf..1b4243788f7b 100644
--- a/sys/sys/mount.h
+++ b/sys/sys/mount.h
@@ -487,14 +487,17 @@ struct mntoptnames {
#define MNTK_RECURSE 0x00000200 /* pending recursive unmount */
#define MNTK_UPPER_WAITER 0x00000400 /* waiting to drain MNTK_UPPER_PENDING */
#define MNTK_LOOKUP_EXCL_DOTDOT 0x00000800
+/* UNUSED 0x00001000 */
#define MNTK_UNMAPPED_BUFS 0x00002000
#define MNTK_USES_BCACHE 0x00004000 /* FS uses the buffer cache. */
-#define MNTK_UNUSED0 0x00008000 /* unused */
+/* UNUSED 0x00008000 */
#define MNTK_VMSETSIZE_BUG 0x00010000
#define MNTK_UNIONFS 0x00020000 /* A hack for F_ISUNIONSTACK */
#define MNTK_FPLOOKUP 0x00040000 /* fast path lookup is supported */
#define MNTK_SUSPEND_ALL 0x00080000 /* Suspended by all-fs suspension */
#define MNTK_TASKQUEUE_WAITER 0x00100000 /* Waiting on unmount taskqueue */
+/* UNUSED 0x00200000 */
+/* UNUSED 0x00400000 */
#define MNTK_NOASYNC 0x00800000 /* disable async */
#define MNTK_UNMOUNT 0x01000000 /* unmount in progress */
#define MNTK_MWAIT 0x02000000 /* waiting for unmount to finish */
@@ -504,7 +507,7 @@ struct mntoptnames {
#define MNTK_NULL_NOCACHE 0x20000000 /* auto disable cache for nullfs
mounts over this fs */
#define MNTK_LOOKUP_SHARED 0x40000000 /* FS supports shared lock lookups */
-#define MNTK_UNUSED1 0x80000000 /* unused */
+/* UNUSED 0x80000000 */
#ifdef _KERNEL
static inline int