diff options
author | Josh Boyer <jwboyer@fedoraproject.org> | 2014-09-01 10:27:14 -0400 |
---|---|---|
committer | Josh Boyer <jwboyer@fedoraproject.org> | 2014-09-01 10:27:14 -0400 |
commit | 27d7c4756aae270c7f272675f73e63644c927582 (patch) | |
tree | 58c52d94d95133ff2b243a8281dc42d15fec4f65 /NFSv3-Fix-another-acl-regression.patch | |
parent | 4b72251382c8f15a9f0f52947ff70eee51ace498 (diff) | |
download | kernel-27d7c4756aae270c7f272675f73e63644c927582.tar.gz kernel-27d7c4756aae270c7f272675f73e63644c927582.tar.xz kernel-27d7c4756aae270c7f272675f73e63644c927582.zip |
Linux v3.17-rc3
- Disable debugging options.
Diffstat (limited to 'NFSv3-Fix-another-acl-regression.patch')
-rw-r--r-- | NFSv3-Fix-another-acl-regression.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/NFSv3-Fix-another-acl-regression.patch b/NFSv3-Fix-another-acl-regression.patch deleted file mode 100644 index cc645785b..000000000 --- a/NFSv3-Fix-another-acl-regression.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 9256af60ce919aead3a5c1fc7f75a138c56474e2 Mon Sep 17 00:00:00 2001 -From: Trond Myklebust <trond.myklebust@primarydata.com> -Date: Sun, 24 Aug 2014 14:46:48 -0400 -Subject: [PATCH] NFSv3: Fix another acl regression - -When creating a new object on the NFS server, we should not be sending -posix setacl requests unless the preceding posix_acl_create returned a -non-trivial acl. Doing so, causes Solaris servers in particular to -return an EINVAL. - -Fixes: 013cdf1088d72 (nfs: use generic posix ACL infrastructure,,,) -Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1132786 -Cc: stable@vger.kernel.org # 3.14+ -Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com> ---- - fs/nfs/nfs3acl.c | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/fs/nfs/nfs3acl.c b/fs/nfs/nfs3acl.c -index d0fec260132a..24c6898159cc 100644 ---- a/fs/nfs/nfs3acl.c -+++ b/fs/nfs/nfs3acl.c -@@ -129,7 +129,10 @@ static int __nfs3_proc_setacls(struct inode *inode, struct posix_acl *acl, - .rpc_argp = &args, - .rpc_resp = &fattr, - }; -- int status; -+ int status = 0; -+ -+ if (acl == NULL && (!S_ISDIR(inode->i_mode) || dfacl == NULL)) -+ goto out; - - status = -EOPNOTSUPP; - if (!nfs_server_capable(inode, NFS_CAP_ACLS)) --- -1.9.3 - |