packages: kernel/kernel-inittmpfs.patch - trying to fix for 3.0
arekm
arekm at pld-linux.org
Sat Jul 23 14:48:47 CEST 2011
Author: arekm Date: Sat Jul 23 12:48:47 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- trying to fix for 3.0
---- Files affected:
packages/kernel:
kernel-inittmpfs.patch (1.7 -> 1.8)
---- Diffs:
================================================================
Index: packages/kernel/kernel-inittmpfs.patch
diff -u packages/kernel/kernel-inittmpfs.patch:1.7 packages/kernel/kernel-inittmpfs.patch:1.8
--- packages/kernel/kernel-inittmpfs.patch:1.7 Thu Jan 6 12:12:44 2011
+++ packages/kernel/kernel-inittmpfs.patch Sat Jul 23 14:48:42 2011
@@ -140,15 +140,15 @@
EXPORT_SYMBOL_GPL(shmem_file_setup);
+#ifdef 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)
-+{
-+ return get_sb_nodev(fs_type, flags, data, shmem_fill_super, mnt);
-+}
++
++
++
++
++
+
+static struct file_system_type rootfs_fs_type = {
+ .name = "rootfs",
-+ .get_sb = rootfs_get_sb,
++ .mount = shmem_mount,
+ .kill_sb = kill_litter_super,
+};
+
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/kernel/kernel-inittmpfs.patch?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list