[PATCH] VFS: Permit filesystem to override root dentry on mount
[linux-2.6-block.git] / fs / hfsplus / super.c
index 7843f792a4b79494919338965bba8aa9dfdb27f4..0ed8b7e8e87fb97bc7934d3ae1cd3fe1771138f0 100644 (file)
@@ -450,10 +450,12 @@ static void hfsplus_destroy_inode(struct inode *inode)
 
 #define HFSPLUS_INODE_SIZE     sizeof(struct hfsplus_inode_info)
 
-static struct super_block *hfsplus_get_sb(struct file_system_type *fs_type,
-                                         int flags, const char *dev_name, void *data)
+static int hfsplus_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, hfsplus_fill_super);
+       return get_sb_bdev(fs_type, flags, dev_name, data, hfsplus_fill_super,
+                          mnt);
 }
 
 static struct file_system_type hfsplus_fs_type = {