summaryrefslogtreecommitdiffstats
path: root/fs/fuse/inode.c
diff options
context:
space:
mode:
authorGreg Kurz <groug@kaod.org>2021-06-04 18:11:56 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2021-06-22 09:15:35 +0200
commit1b539917374d26fb64395eeb5d4baebd7ad38f61 (patch)
tree3053e07f68266cce9afa65bcc5c57e5d3b970fc9 /fs/fuse/inode.c
parent29e0e4df9d2bd1f7dd3c7293bf49e08a9d27e811 (diff)
downloadlinux-stable-1b539917374d26fb64395eeb5d4baebd7ad38f61.tar.gz
linux-stable-1b539917374d26fb64395eeb5d4baebd7ad38f61.tar.bz2
linux-stable-1b539917374d26fb64395eeb5d4baebd7ad38f61.zip
fuse: Make fuse_fill_super_submount() static
This function used to be called from fuse_dentry_automount(). This code was moved to fuse_get_tree_submount() in the same file since then. It is unlikely there will ever be another user. No need to be extern in this case. Signed-off-by: Greg Kurz <groug@kaod.org> Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/fuse/inode.c')
-rw-r--r--fs/fuse/inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c
index c7aee88ce7aa..04f25f49c37f 100644
--- a/fs/fuse/inode.c
+++ b/fs/fuse/inode.c
@@ -1315,8 +1315,8 @@ static void fuse_sb_defaults(struct super_block *sb)
sb->s_xattr = fuse_no_acl_xattr_handlers;
}
-int fuse_fill_super_submount(struct super_block *sb,
- struct fuse_inode *parent_fi)
+static int fuse_fill_super_submount(struct super_block *sb,
+ struct fuse_inode *parent_fi)
{
struct fuse_mount *fm = get_fuse_mount_super(sb);
struct super_block *parent_sb = parent_fi->inode.i_sb;