]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fs: use a consume fence in mnt_idmap()
authorMateusz Guzik <mjguzik@gmail.com>
Sat, 30 Nov 2024 05:17:11 +0000 (06:17 +0100)
committerChristian Brauner <brauner@kernel.org>
Sun, 22 Dec 2024 10:29:52 +0000 (11:29 +0100)
commit3212a8f34021a16d13ace91d3ac5f451ef8d0103
treeed60c561af47d6b8d4b330fe52554a2e24c32a37
parent9b7da575f85962c44abe7dc245b0a58179ad2c45
fs: use a consume fence in mnt_idmap()

The routine is used in link_path_walk() for every path component.

To my reading the entire point of the fence was to grab a fully
populated mnt_idmap, but that's already going to happen with mere
consume fence.

Eliminates an actual fence on arm64.

Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Link: https://lore.kernel.org/r/20241130051712.1036527-1-mjguzik@gmail.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
include/linux/mount.h