aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fuse/inode.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2006-06-24 08:41:41 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-06-24 13:07:53 -0400
commit816724e65c72a90a44fbad0ef0b59b186c85fa90 (patch)
tree421fa29aedff988e392f92780637553e275d37a0 /fs/fuse/inode.c
parent70ac4385a13f78bc478f26d317511893741b05bd (diff)
parentd384ea691fe4ea8c2dd5b9b8d9042eb181776f18 (diff)
Merge branch 'master' of /home/trondmy/kernel/linux-2.6/
Conflicts: fs/nfs/inode.c fs/super.c Fix conflicts between patch 'NFS: Split fs/nfs/inode.c' and patch 'VFS: Permit filesystem to override root dentry on mount'
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 13ebe5780c93..815c824f4fc8 100644
--- a/fs/fuse/inode.c
+++ b/fs/fuse/inode.c
@@ -237,8 +237,9 @@ static void convert_fuse_statfs(struct kstatfs *stbuf, struct fuse_kstatfs *attr
237 /* fsid is left zero */ 237 /* fsid is left zero */
238} 238}
239 239
240static int fuse_statfs(struct super_block *sb, struct kstatfs *buf) 240static int fuse_statfs(struct dentry *dentry, struct kstatfs *buf)
241{ 241{
242 struct super_block *sb = dentry->d_sb;
242 struct fuse_conn *fc = get_fuse_conn_super(sb); 243 struct fuse_conn *fc = get_fuse_conn_super(sb);
243 struct fuse_req *req; 244 struct fuse_req *req;
244 struct fuse_statfs_out outarg; 245 struct fuse_statfs_out outarg;
@@ -570,11 +571,11 @@ static int fuse_fill_super(struct super_block *sb, void *data, int silent)
570 return err; 571 return err;
571} 572}
572 573
573static struct super_block *fuse_get_sb(struct file_system_type *fs_type, 574static int fuse_get_sb(struct file_system_type *fs_type,
574 int flags, const char *dev_name, 575 int flags, const char *dev_name,
575 void *raw_data) 576 void *raw_data, struct vfsmount *mnt)
576{ 577{
577 return get_sb_nodev(fs_type, flags, raw_data, fuse_fill_super); 578 return get_sb_nodev(fs_type, flags, raw_data, fuse_fill_super, mnt);
578} 579}
579 580
580static struct file_system_type fuse_fs_type = { 581static struct file_system_type fuse_fs_type = {