mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 14:14:37 +00:00
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>
This commit is contained in:
parent
29e0e4df9d
commit
1b53991737
2 changed files with 2 additions and 11 deletions
|
@ -1084,15 +1084,6 @@ void fuse_send_init(struct fuse_mount *fm);
|
||||||
*/
|
*/
|
||||||
int fuse_fill_super_common(struct super_block *sb, struct fuse_fs_context *ctx);
|
int fuse_fill_super_common(struct super_block *sb, struct fuse_fs_context *ctx);
|
||||||
|
|
||||||
/*
|
|
||||||
* Fill in superblock for submounts
|
|
||||||
* @sb: partially-initialized superblock to fill in
|
|
||||||
* @parent_fi: The fuse_inode of the parent filesystem where this submount is
|
|
||||||
* mounted
|
|
||||||
*/
|
|
||||||
int fuse_fill_super_submount(struct super_block *sb,
|
|
||||||
struct fuse_inode *parent_fi);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Remove the mount from the connection
|
* Remove the mount from the connection
|
||||||
*
|
*
|
||||||
|
|
|
@ -1315,7 +1315,7 @@ static void fuse_sb_defaults(struct super_block *sb)
|
||||||
sb->s_xattr = fuse_no_acl_xattr_handlers;
|
sb->s_xattr = fuse_no_acl_xattr_handlers;
|
||||||
}
|
}
|
||||||
|
|
||||||
int fuse_fill_super_submount(struct super_block *sb,
|
static int fuse_fill_super_submount(struct super_block *sb,
|
||||||
struct fuse_inode *parent_fi)
|
struct fuse_inode *parent_fi)
|
||||||
{
|
{
|
||||||
struct fuse_mount *fm = get_fuse_mount_super(sb);
|
struct fuse_mount *fm = get_fuse_mount_super(sb);
|
||||||
|
|
Loading…
Reference in a new issue