mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
vfs: use atomic_load_consume_ptr in vn_load_v_data_smr
(cherry picked from commit 8d2a230e99)
This commit is contained in:
parent
fc301c224b
commit
e8d3e38845
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue