]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/patches/suse-2.6.27.31/patches.apparmor/vfs-removexattr.diff
Add a patch to fix Intel E100 wake-on-lan problems.
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.apparmor / vfs-removexattr.diff
index a3153f40673aa04081738464343391da6c582992..18d6fee99ef063b9d7881c034053eaf56a295e53 100644 (file)
@@ -14,6 +14,8 @@ Signed-off-by: John Johansen <jjohansen@suse.de>
  include/linux/xattr.h |    2 +-
  3 files changed, 13 insertions(+), 12 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
 @@ -2095,6 +2095,7 @@ nfsd_get_posix_acl(struct svc_fh *fhp, i
@@ -52,6 +54,8 @@ Signed-off-by: John Johansen <jjohansen@suse.de>
  
  getout:
        kfree(value);
+Index: linux-2.6.27/fs/xattr.c
+===================================================================
 --- linux-2.6.27.orig/fs/xattr.c
 +++ linux-2.6.27/fs/xattr.c
 @@ -190,7 +190,7 @@ vfs_listxattr(struct dentry *dentry, str
@@ -81,7 +85,7 @@ Signed-off-by: John Johansen <jjohansen@suse.de>
  }
  
  SYSCALL_DEFINE2(removexattr, const char __user *, pathname,
-@@ -496,7 +496,7 @@ SYSCALL_DEFINE2(removexattr, const char 
+@@ -496,7 +496,7 @@ SYSCALL_DEFINE2(removexattr, const char
                return error;
        error = mnt_want_write(path.mnt);
        if (!error) {
@@ -108,6 +112,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
 @@ -51,7 +51,7 @@ ssize_t xattr_getsecurity(struct inode *