VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: David Howells <dhowells@redhat.com> 2006-06-23 02:02:57 -0700 committer: Linus Torvalds <torvalds@g5.osdl.org> 2006-06-23 07:42:45 -0700 commit: 454e2398be9b9fa30433fccc548db34d19aa9958 parent: 1ad5544098a69d7dc1fa508cbb17e13a7a952fd8
Commit Summary:
[PATCH] VFS: Permit filesystem to override root dentry on mount
Diffstat:
1 file changed, 4 insertions, 3 deletions
diff --git a/fs/hfs/super.c b/fs/hfs/super.c
index 1181d116117d..ee5b80a409e8 100644
--- a/fs/hfs/super.c
+++ b/fs/hfs/super.c
@@ -413,10 +413,11 @@ bail:
 	return res;
 }
 
-static struct super_block *hfs_get_sb(struct file_system_type *fs_type,
-				      int flags, const char *dev_name, void *data)
+static int hfs_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, hfs_fill_super);
+	return get_sb_bdev(fs_type, flags, dev_name, data, hfs_fill_super, mnt);
 }
 
 static struct file_system_type hfs_fs_type = {