]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/patches/suse-2.6.27.31/patches.apparmor/vfs-setxattr.diff
Add a patch to fix Intel E100 wake-on-lan problems.
[ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.apparmor / vfs-setxattr.diff
index f95a34640948528a61855b8b0d9860a50a8f8a40..919a68fffd1ef6c6d9cc93d9a15ae14e574cad80 100644 (file)
@@ -14,6 +14,8 @@ Signed-off-by: John Johansen <jjohansen@suse.de>
  include/linux/xattr.h |    3 ++-
  3 files changed, 21 insertions(+), 14 deletions(-)
 
+Index: linux-2.6.27/fs/nfsd/vfs.c
+===================================================================
 --- linux-2.6.27.orig/fs/nfsd/vfs.c
 +++ linux-2.6.27/fs/nfsd/vfs.c
 @@ -438,7 +438,8 @@ static ssize_t nfsd_getxattr(struct dent
@@ -78,6 +80,8 @@ Signed-off-by: John Johansen <jjohansen@suse.de>
        else {
                if (!S_ISDIR(inode->i_mode) && type == ACL_TYPE_DEFAULT)
                        error = 0;
+Index: linux-2.6.27/fs/xattr.c
+===================================================================
 --- linux-2.6.27.orig/fs/xattr.c
 +++ linux-2.6.27/fs/xattr.c
 @@ -67,8 +67,8 @@ xattr_permission(struct inode *inode, co
@@ -138,6 +142,8 @@ Signed-off-by: John Johansen <jjohansen@suse.de>
                mnt_drop_write(f->f_path.mnt);
        }
        fput(f);
+Index: linux-2.6.27/include/linux/xattr.h
+===================================================================
 --- linux-2.6.27.orig/include/linux/xattr.h
 +++ linux-2.6.27/include/linux/xattr.h
 @@ -16,6 +16,7 @@