VisionFive2 Linux kernel

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

More than 9999 Commits   35 Branches   59 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, 3 insertions, 3 deletions
diff --git a/fs/autofs/init.c b/fs/autofs/init.c
index b977ece69f0c..aca123752406 100644
--- a/fs/autofs/init.c
+++ b/fs/autofs/init.c
@@ -14,10 +14,10 @@
 #include <linux/init.h>
 #include "autofs_i.h"
 
-static struct super_block *autofs_get_sb(struct file_system_type *fs_type,
-	int flags, const char *dev_name, void *data)
+static int autofs_get_sb(struct file_system_type *fs_type,
+	int flags, const char *dev_name, void *data, struct vfsmount *mnt)
 {
-	return get_sb_nodev(fs_type, flags, data, autofs_fill_super);
+	return get_sb_nodev(fs_type, flags, data, autofs_fill_super, mnt);
 }
 
 static struct file_system_type autofs_fs_type = {