]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/binfmt_misc.c
[PATCH] VFS: Permit filesystem to override root dentry on mount
[net-next-2.6.git] / fs / binfmt_misc.c
index 599f36fd0f6712669a759c996bd608872f588d13..07a4996cca3f76c03a1a6434decc88f0dacfdc42 100644 (file)
@@ -739,10 +739,10 @@ static int bm_fill_super(struct super_block * sb, void * data, int silent)
        return err;
 }
 
-static struct super_block *bm_get_sb(struct file_system_type *fs_type,
-       int flags, const char *dev_name, void *data)
+static int bm_get_sb(struct file_system_type *fs_type,
+       int flags, const char *dev_name, void *data, struct vfsmount *mnt)
 {
-       return get_sb_single(fs_type, flags, data, bm_fill_super);
+       return get_sb_single(fs_type, flags, data, bm_fill_super, mnt);
 }
 
 static struct linux_binfmt misc_format = {