aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/vnode.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys/vnode.h')
-rw-r--r--sys/sys/vnode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h
index ffd0bdad940d..78fbec1bd0ba 100644
--- a/sys/sys/vnode.h
+++ b/sys/sys/vnode.h
@@ -1112,7 +1112,7 @@ int vn_dir_check_exec(struct vnode *vp, struct componentname *cnp);
struct vnode *_vp = (vp); \
\
VFS_SMR_ASSERT_ENTERED(); \
- atomic_load_ptr(&(_vp)->v_data); \
+ atomic_load_consume_ptr(&(_vp)->v_data);\
})
#endif /* _KERNEL */