diff options
author | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-10-08 09:13:14 +0000 |
---|---|---|
committer | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-10-08 09:13:14 +0000 |
commit | 195e79a2022fc778028930f902ffa7a87baee681 (patch) | |
tree | 0f04dffe4d094e2b97e1487dde99a63316e049d2 /target/linux | |
parent | 3138a264102ad13d1ee197eb7a38875da8134ca6 (diff) |
resync 2.6.31 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17991 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/generic-2.6/patches-2.6.31/233-jffs2_whiteout_support.patch | 16 | ||||
-rw-r--r-- | target/linux/generic-2.6/patches-2.6.31/234-union_mounts_no_debug.patch | 6 |
2 files changed, 11 insertions, 11 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.31/233-jffs2_whiteout_support.patch b/target/linux/generic-2.6/patches-2.6.31/233-jffs2_whiteout_support.patch index 72a428237b..3ae20c30da 100644 --- a/target/linux/generic-2.6/patches-2.6.31/233-jffs2_whiteout_support.patch +++ b/target/linux/generic-2.6/patches-2.6.31/233-jffs2_whiteout_support.patch @@ -1,6 +1,6 @@ --- a/fs/jffs2/dir.c +++ b/fs/jffs2/dir.c -@@ -34,6 +34,9 @@ +@@ -34,6 +34,9 @@ static int jffs2_mknod (struct inode *,s static int jffs2_rename (struct inode *, struct dentry *, struct inode *, struct dentry *); @@ -10,7 +10,7 @@ const struct file_operations jffs2_dir_operations = { .read = generic_read_dir, -@@ -55,6 +58,8 @@ +@@ -55,6 +58,8 @@ const struct inode_operations jffs2_dir_ .rmdir = jffs2_rmdir, .mknod = jffs2_mknod, .rename = jffs2_rename, @@ -19,7 +19,7 @@ .permission = jffs2_permission, .setattr = jffs2_setattr, .setxattr = jffs2_setxattr, -@@ -98,8 +103,21 @@ +@@ -98,8 +103,21 @@ static struct dentry *jffs2_lookup(struc fd = fd_list; } } @@ -43,7 +43,7 @@ mutex_unlock(&dir_f->sem); if (ino) { inode = jffs2_iget(dir_i->i_sb, ino); -@@ -155,7 +173,9 @@ +@@ -155,7 +173,9 @@ static int jffs2_readdir(struct file *fi fd->name, fd->ino, fd->type, curofs, offset)); continue; } @@ -54,7 +54,7 @@ D2(printk(KERN_DEBUG "Skipping deletion dirent \"%s\"\n", fd->name)); offset++; continue; -@@ -498,6 +518,11 @@ +@@ -498,6 +518,11 @@ static int jffs2_mkdir (struct inode *di return PTR_ERR(inode); } @@ -66,7 +66,7 @@ inode->i_op = &jffs2_dir_inode_operations; inode->i_fop = &jffs2_dir_operations; -@@ -779,6 +804,82 @@ +@@ -779,6 +804,82 @@ static int jffs2_mknod (struct inode *di return 0; } @@ -151,7 +151,7 @@ { --- a/fs/jffs2/fs.c +++ b/fs/jffs2/fs.c -@@ -301,6 +301,10 @@ +@@ -301,6 +301,10 @@ struct inode *jffs2_iget(struct super_bl inode->i_op = &jffs2_dir_inode_operations; inode->i_fop = &jffs2_dir_operations; @@ -164,7 +164,7 @@ case S_IFREG: --- a/fs/jffs2/super.c +++ b/fs/jffs2/super.c -@@ -172,7 +172,7 @@ +@@ -172,7 +172,7 @@ static int jffs2_fill_super(struct super sb->s_op = &jffs2_super_operations; sb->s_export_op = &jffs2_export_ops; diff --git a/target/linux/generic-2.6/patches-2.6.31/234-union_mounts_no_debug.patch b/target/linux/generic-2.6/patches-2.6.31/234-union_mounts_no_debug.patch index 476d3700ee..deabd43045 100644 --- a/target/linux/generic-2.6/patches-2.6.31/234-union_mounts_no_debug.patch +++ b/target/linux/generic-2.6/patches-2.6.31/234-union_mounts_no_debug.patch @@ -1,6 +1,6 @@ --- a/fs/union.c +++ b/fs/union.c -@@ -842,10 +842,8 @@ +@@ -842,10 +842,8 @@ static int union_copyup_dir_one(void *bu /* Lookup this entry in the topmost directory */ dentry = lookup_one_len(name, topmost_dentry, namlen); @@ -12,7 +12,7 @@ /* * If the entry already exists, one of the following is true: -@@ -857,7 +855,6 @@ +@@ -857,7 +855,6 @@ static int union_copyup_dir_one(void *bu */ if (dentry->d_inode || d_is_whiteout(dentry) || d_is_fallthru(dentry)) { @@ -20,7 +20,7 @@ goto out_dput; } -@@ -867,7 +864,6 @@ +@@ -867,7 +864,6 @@ static int union_copyup_dir_one(void *bu * used, so each file system must implement its own way of * storing a fallthru entry. */ |