aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/vnode.h
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2021-01-01 03:10:12 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2021-01-03 06:50:06 +0000
commit82397d791966b09d344251bc709cd9db2b3a1902 (patch)
tree39d3c4120a61734b60c0c5d0b617d271f43e1688 /sys/sys/vnode.h
parent3e506a67bbcc76aada3c3fa4e499502184272c07 (diff)
downloadsrc-82397d791966b09d344251bc709cd9db2b3a1902.tar.gz
src-82397d791966b09d344251bc709cd9db2b3a1902.zip
vfs: denote vnode being a mount point with VIRF_MOUNTPOINT
Reviewed by: kib (previous version) Differential Revision: https://reviews.freebsd.org/D27794
Diffstat (limited to 'sys/sys/vnode.h')
-rw-r--r--sys/sys/vnode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h
index 107cf45f9602..9be22f02e8d4 100644
--- a/sys/sys/vnode.h
+++ b/sys/sys/vnode.h
@@ -246,6 +246,7 @@ struct xvnode {
#define VIRF_DOOMED 0x0001 /* This vnode is being recycled */
#define VIRF_PGREAD 0x0002 /* Direct reads from the page cache are permitted,
never cleared once set */
+#define VIRF_MOUNTPOINT 0x0004 /* This vnode is mounted on */
#define VI_TEXT_REF 0x0001 /* Text ref grabbed use ref */
#define VI_MOUNT 0x0002 /* Mount in progress */