mirror of
https://github.com/opnsense/src.git
synced 2026-04-25 16:18:54 -04:00
vfs: use atomic_load_consume_ptr in vn_load_v_data_smr
This commit is contained in:
parent
054ce2b037
commit
8d2a230e99
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