diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2022-03-01 00:05:29 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2022-05-19 23:25:10 -0400 |
commit | a5f85d7834f7e1456e799c79a2a83fc11b90cfe2 (patch) | |
tree | be51d3f60e7b1b8697e6c825a58914f11c3ca838 /fs/internal.h | |
parent | 3123109284176b1532874591f7c81f3837bbdc17 (diff) | |
download | linux-a5f85d7834f7e1456e799c79a2a83fc11b90cfe2.tar.gz linux-a5f85d7834f7e1456e799c79a2a83fc11b90cfe2.tar.bz2 linux-a5f85d7834f7e1456e799c79a2a83fc11b90cfe2.zip |
uninline may_mount() and don't opencode it in fspick(2)/fsopen(2)
It's done once per (mount-related) syscall and there's no point
whatsoever making it inline.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/internal.h')
-rw-r--r-- | fs/internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/internal.h b/fs/internal.h index 08503dc68d2b..09ed7fe12b73 100644 --- a/fs/internal.h +++ b/fs/internal.h @@ -84,6 +84,7 @@ extern int __mnt_want_write_file(struct file *); extern void __mnt_drop_write_file(struct file *); extern void dissolve_on_fput(struct vfsmount *); +extern bool may_mount(void); int path_mount(const char *dev_name, struct path *path, const char *type_page, unsigned long flags, void *data_page); |