]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - fs/minix/inode.c
[PATCH] VFS: Permit filesystem to override root dentry on mount
[mirror_ubuntu-zesty-kernel.git] / fs / minix / inode.c
index 2dcccf1d1b7f7d2b72110e2d2be6b3a2f911b0b8..14f24dfbfe30f6dbc81129c52a15f439d0c1a6a6 100644 (file)
@@ -559,10 +559,11 @@ void minix_truncate(struct inode * inode)
                V2_minix_truncate(inode);
 }
 
-static struct super_block *minix_get_sb(struct file_system_type *fs_type,
-       int flags, const char *dev_name, void *data)
+static int minix_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, minix_fill_super);
+       return get_sb_bdev(fs_type, flags, dev_name, data, minix_fill_super,
+                          mnt);
 }
 
 static struct file_system_type minix_fs_type = {