aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/internal.h
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2023-08-18 16:00:49 +0200
committerChristian Brauner <brauner@kernel.org>2023-08-21 14:36:57 +0200
commitd8ce82efdece373b570f35acc8a29487b2087b84 (patch)
tree08ae24a9c2345ccc02c054f6af90afb1c52521e7 /fs/internal.h
parentsuper: use locking helpers (diff)
downloadwireguard-linux-d8ce82efdece373b570f35acc8a29487b2087b84.tar.xz
wireguard-linux-d8ce82efdece373b570f35acc8a29487b2087b84.zip
super: make locking naming consistent
Make the naming consistent with the earlier introduced super_lock_{read,write}() helpers. Reviewed-by: Jan Kara <jack@suse.cz> Message-Id: <20230818-vfs-super-fixes-v3-v3-2-9f0b1876e46b@kernel.org> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/internal.h')
-rw-r--r--fs/internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/internal.h b/fs/internal.h
index b94290f61714..74d3b161dd2c 100644
--- a/fs/internal.h
+++ b/fs/internal.h
@@ -115,7 +115,7 @@ static inline void put_file_access(struct file *file)
* super.c
*/
extern int reconfigure_super(struct fs_context *);
-extern bool trylock_super(struct super_block *sb);
+extern bool super_trylock_shared(struct super_block *sb);
struct super_block *user_get_super(dev_t, bool excl);
void put_super(struct super_block *sb);
extern bool mount_capable(struct fs_context *);