]> Gentwo Git Trees - linux/.git/commit
introduced guards for mount_lock
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 20 Aug 2025 23:54:45 +0000 (19:54 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 2 Sep 2025 23:35:56 +0000 (19:35 -0400)
commitd154f185758994ea2cc2c15575a3653334562184
tree56fdc3997c90cc4fad1a29f770b99f6fd38543ef
parent360600f8ec635c3d47789ade3d3c120c88981343
introduced guards for mount_lock

mount_writer: write_seqlock; that's an equivalent of {un,}lock_mount_hash()
mount_locked_reader: read_seqlock_excl; these tend to be open-coded.

No bulk conversions, please - if nothing else, quite a few places take
use mount_writer form when mount_locked_reader is sufficent.  It needs
to be dealt with carefully.

Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/mount.h