filelock: use a consume fence in locks_inode_context()

Matches the idiom of storing a pointer with a release fence and safely
getting the content with a consume fence after.

Eliminates an actual fence on some archs.

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Link: https://patch.msgid.link/20251203094837.290654-1-mjguzik@gmail.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
Mateusz Guzik 2025-12-03 10:48:36 +01:00 • committed by Christian Brauner
commit 1fa4e69a54
No known key found for this signature in database
GPG key ID: 91C61BC06578DCA2