[PATCH] VFS: Permit filesystem to override root dentry on mount
[linux-2.6-block.git] / fs / bfs / inode.c
index 55a7a78332f8b45bd4960e112fe222cc0980cbbd..e7da03f63a5a3fb299256df3c336fd135c9ab2c2 100644 (file)
@@ -410,10 +410,10 @@ out:
        return -EINVAL;
 }
 
-static struct super_block *bfs_get_sb(struct file_system_type *fs_type,
-       int flags, const char *dev_name, void *data)
+static int bfs_get_sb(struct file_system_type *fs_type,
+       int flags, const char *dev_name, void *data, struct vfsmount *mnt)
 {
-       return get_sb_bdev(fs_type, flags, dev_name, data, bfs_fill_super);
+       return get_sb_bdev(fs_type, flags, dev_name, data, bfs_fill_super, mnt);
 }
 
 static struct file_system_type bfs_fs_type = {