aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fuse/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fuse/inode.c')
-rw-r--r--fs/fuse/inode.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c
index 7627022446b2..a13c0f529058 100644
--- a/fs/fuse/inode.c
+++ b/fs/fuse/inode.c
@@ -236,8 +236,9 @@ static void convert_fuse_statfs(struct kstatfs *stbuf, struct fuse_kstatfs *attr
236 /* fsid is left zero */ 236 /* fsid is left zero */
237} 237}
238 238
239static int fuse_statfs(struct super_block *sb, struct kstatfs *buf) 239static int fuse_statfs(struct dentry *dentry, struct kstatfs *buf)
240{ 240{
241 struct super_block *sb = dentry->d_sb;
241 struct fuse_conn *fc = get_fuse_conn_super(sb); 242 struct fuse_conn *fc = get_fuse_conn_super(sb);
242 struct fuse_req *req; 243 struct fuse_req *req;
243 struct fuse_statfs_out outarg; 244 struct fuse_statfs_out outarg;
@@ -569,11 +570,11 @@ static int fuse_fill_super(struct super_block *sb, void *data, int silent)
569 return err; 570 return err;
570} 571}
571 572
572static struct super_block *fuse_get_sb(struct file_system_type *fs_type, 573static int fuse_get_sb(struct file_system_type *fs_type,
573 int flags, const char *dev_name, 574 int flags, const char *dev_name,
574 void *raw_data) 575 void *raw_data, struct vfsmount *mnt)
575{ 576{
576 return get_sb_nodev(fs_type, flags, raw_data, fuse_fill_super); 577 return get_sb_nodev(fs_type, flags, raw_data, fuse_fill_super, mnt);
577} 578}
578 579
579static struct file_system_type fuse_fs_type = { 580static struct file_system_type fuse_fs_type = {