diff options
author | Florian Fainelli <florian@openwrt.org> | 2010-08-08 20:01:05 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2010-08-08 20:01:05 +0000 |
commit | f27cb2ed92b694477830f837dad94f7b3a718de4 (patch) | |
tree | 02c7ae578fb4e19764de08cf6f2722e6a9a25996 /target/linux/generic/patches-2.6.34/015-devtmpfs_ramfs.patch | |
parent | fc2a9bd7c845f15379fc039fbde51b1cd1efd844 (diff) | |
download | master-187ad058-f27cb2ed92b694477830f837dad94f7b3a718de4.tar.gz master-187ad058-f27cb2ed92b694477830f837dad94f7b3a718de4.tar.bz2 master-187ad058-f27cb2ed92b694477830f837dad94f7b3a718de4.zip |
[kernel] refresh 2.6.34 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22542 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-2.6.34/015-devtmpfs_ramfs.patch')
-rw-r--r-- | target/linux/generic/patches-2.6.34/015-devtmpfs_ramfs.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/generic/patches-2.6.34/015-devtmpfs_ramfs.patch b/target/linux/generic/patches-2.6.34/015-devtmpfs_ramfs.patch index 8cea56d3f8..8ff7f9da6a 100644 --- a/target/linux/generic/patches-2.6.34/015-devtmpfs_ramfs.patch +++ b/target/linux/generic/patches-2.6.34/015-devtmpfs_ramfs.patch @@ -10,7 +10,7 @@ Acked-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- a/drivers/base/Kconfig +++ b/drivers/base/Kconfig -@@ -18,9 +18,9 @@ config UEVENT_HELPER_PATH +@@ -18,9 +18,9 @@ config UEVENT_HELPER_PATH config DEVTMPFS bool "Maintain a devtmpfs filesystem to mount at /dev" @@ -22,7 +22,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> In this filesystem, the kernel driver core maintains device nodes with their default names and permissions for all registered devices with an assigned major/minor number. -@@ -33,6 +33,9 @@ config DEVTMPFS +@@ -33,6 +33,9 @@ config DEVTMPFS functional /dev without any further help. It also allows simple rescue systems, and reliably handles dynamic major/minor numbers. @@ -34,7 +34,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> depends on DEVTMPFS --- a/drivers/base/devtmpfs.c +++ b/drivers/base/devtmpfs.c -@@ -20,6 +20,7 @@ +@@ -20,6 +20,7 @@ #include <linux/namei.h> #include <linux/fs.h> #include <linux/shmem_fs.h> @@ -42,7 +42,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> #include <linux/cred.h> #include <linux/sched.h> #include <linux/init_task.h> -@@ -45,7 +46,11 @@ __setup("devtmpfs.mount=", mount_param); +@@ -45,7 +46,11 @@ __setup("devtmpfs.mount=", mount_param); static int dev_get_sb(struct file_system_type *fs_type, int flags, const char *dev_name, void *data, struct vfsmount *mnt) { @@ -56,7 +56,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> static struct file_system_type dev_fs_type = { --- a/fs/ramfs/inode.c +++ b/fs/ramfs/inode.c -@@ -214,7 +214,7 @@ static int ramfs_parse_options(char *data, struct ramfs_mount_opts *opts) +@@ -214,7 +214,7 @@ static int ramfs_parse_options(char *dat return 0; } @@ -67,7 +67,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> struct inode *inode = NULL; --- a/include/linux/ramfs.h +++ b/include/linux/ramfs.h -@@ -20,4 +20,6 @@ extern const struct file_operations ramfs_file_operations; +@@ -20,4 +20,6 @@ extern const struct file_operations ramf extern const struct vm_operations_struct generic_file_vm_ops; extern int __init init_rootfs(void); |