]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - fs/romfs/inode.c
[PATCH] VFS: Permit filesystem to override root dentry on mount
[linux-2.6.git] / fs / romfs / inode.c
index 9b9eda7b335c431803092dde7aa6fabea1fe8bdc..4d6cd66210620b0508462731b3e56358937a18ec 100644 (file)
@@ -607,10 +607,11 @@ static struct super_operations romfs_ops = {
        .remount_fs     = romfs_remount,
 };
 
-static struct super_block *romfs_get_sb(struct file_system_type *fs_type,
-       int flags, const char *dev_name, void *data)
+static int romfs_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, romfs_fill_super);
+       return get_sb_bdev(fs_type, flags, dev_name, data, romfs_fill_super,
+                          mnt);
 }
 
 static struct file_system_type romfs_fs_type = {