The branch main has been updated by mjg:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=8d2a230e996c8aec2ec4883d45f7ac38070bd38f

commit 8d2a230e996c8aec2ec4883d45f7ac38070bd38f
Author:     Mateusz Guzik <[email protected]>
AuthorDate: 2021-01-25 20:19:08 +0000
Commit:     Mateusz Guzik <[email protected]>
CommitDate: 2021-01-25 22:40:15 +0000

    vfs: use atomic_load_consume_ptr in vn_load_v_data_smr
---
 sys/sys/vnode.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 */
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main
To unsubscribe, send any mail to "[email protected]"

Reply via email to