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/adfs/super.c b/fs/adfs/super.c
index 252abda0d200..1b58a9b7f6aa 100644
--- a/fs/adfs/super.c
+++ b/fs/adfs/super.c
@@ -470,10 +470,11 @@ error:
 	return -EINVAL;
 }
 
-static struct super_block *adfs_get_sb(struct file_system_type *fs_type,
-	int flags, const char *dev_name, void *data)
+static int adfs_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, adfs_fill_super);
+	return get_sb_bdev(fs_type, flags, dev_name, data, adfs_fill_super,
+			   mnt);
 }
 
 static struct file_system_type adfs_fs_type = {