aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/vnode.h
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2021-01-06 06:12:49 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2021-01-06 07:28:07 +0000
commitc6d3272b733add64b1e44e36d878a48fea966dec (patch)
treef58d17d1aeef102f50c01086ef7eb25e757ceb42 /sys/sys/vnode.h
parent65f775157e0d239f311e912086600f620d0c15cf (diff)
downloadsrc-c6d3272b733add64b1e44e36d878a48fea966dec.tar.gz
src-c6d3272b733add64b1e44e36d878a48fea966dec.zip
vfs: add vn_seqc_read_notmodify
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 cb71d80c244f..ff1323cb8719 100644
--- a/sys/sys/vnode.h
+++ b/sys/sys/vnode.h
@@ -783,6 +783,7 @@ void vn_seqc_write_begin(struct vnode *vp);
void vn_seqc_write_end_locked(struct vnode *vp);
void vn_seqc_write_end(struct vnode *vp);
#define vn_seqc_read_any(vp) seqc_read_any(&(vp)->v_seqc)
+#define vn_seqc_read_notmodify(vp) seqc_read_notmodify(&(vp)->v_seqc)
#define vn_seqc_consistent(vp, seq) seqc_consistent(&(vp)->v_seqc, seq)
#define vn_rangelock_unlock(vp, cookie) \