kernel: update to 2.6.38.5.

This commit is contained in:
Juan RP 2011-05-02 23:55:28 +02:00
parent d734de498c
commit 542f855627
6 changed files with 2 additions and 29 deletions

View File

@ -2,9 +2,9 @@
# build templates.
_kernel_ver=2.6.38
#version=${_kernel_ver}
_kernel_patch_ver=4
_kernel_patch_ver=5
version=${_kernel_ver}.${_kernel_patch_ver}
wrksrc="linux-$version"
distfiles="${KERNEL_SITE}/kernel/v2.6/linux-$version.tar.bz2"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=dad61f6c980209d60d5b891324e9db04b9c80d16b4515d9e7a550388899bc46c
checksum=1eae9aaf22106213e14eb2a9b5962a00156ac0e7eae71fecfae26161a8725034

View File

@ -1,2 +0,0 @@
unionfs-2.5.8_for_2.6.38-rc7.diff.gz
unionfs-2.5.8-setattr-fixes.patch

View File

@ -1,25 +0,0 @@
Adapted for 2.6.38 from http://www.fsl.cs.sunysb.edu/pipermail/unionfs/2011-March/006088.html
--- fs/unionfs/inode.c.orig 2011-03-29 09:19:23.477166008 +0200
+++ fs/unionfs/inode.c 2011-03-29 09:22:02.267303281 +0200
@@ -936,7 +936,8 @@ static int unionfs_setattr(struct dentry
err = -EINVAL;
goto out;
}
- lower_inode = unionfs_lower_inode(inode);
+ lower_inode = lower_dentry->d_inode;
+ BUG_ON(!lower_inode);
/* check if user has permission to change lower inode */
err = inode_change_ok(lower_inode, ia);
@@ -970,7 +971,9 @@ static int unionfs_setattr(struct dentry
goto out;
/* get updated lower_dentry/inode after copyup */
lower_dentry = unionfs_lower_dentry(dentry);
- lower_inode = unionfs_lower_inode(inode);
+ BUG_ON(!lower_inode);
+ lower_inode = lower_dentry->d_inode;
+ BUG_ON(!lower_inode);
}
/*