diff -ruw linux-2.6.30.orig/fs/ramfs/inode.c linux-2.6.30/fs/ramfs/inode.c
--- linux-2.6.30.orig/fs/ramfs/inode.c 2009-02-12 17:51:15.000000000 +0000
+++ linux-2.6.30/fs/ramfs/inode.c 2009-02-13 11:30:30.000000000 +0000
-@@ -265,6 +265,13 @@
- return get_sb_nodev(fs_type, flags, data, ramfs_fill_super, mnt);
+@@ -255,6 +255,13 @@
+ return err;
}
+static struct file_system_type ramfs_fs_type = {
-+ .name = "ramfs",
-+ .get_sb = ramfs_get_sb,
-+ .kill_sb = kill_litter_super,
++ .name = "ramfs",
++ .mount ramfs_mount,
++ .kill_sb = kill_litter_super,
+};
+
+#ifndef CONFIG_TMPFS_ROOT
- static int rootfs_get_sb(struct file_system_type *fs_type,
- int flags, const char *dev_name, void *data, struct vfsmount *mnt)
+ struct dentry *ramfs_mount(struct file_system_type *fs_type,
+ int flags, const char *dev_name, void *data)
{
-@@ -278,30 +285,12 @@
+@@ -273,30 +280,12 @@
kill_litter_super(sb);
}
-static struct file_system_type ramfs_fs_type = {
- .name = "ramfs",
-- .get_sb = ramfs_get_sb,
+- .mount = ramfs_mount,
- .kill_sb = ramfs_kill_sb,
-};
static struct file_system_type rootfs_fs_type = {
.name = "rootfs",
- .get_sb = rootfs_get_sb,
+ .mount = rootfs_mount,
.kill_sb = kill_litter_super,
};