Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 930219 Details for
Bug 1132786
NFS v3 creat EINVAL
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Fix another acl regression
0001-NFSv3-Fix-another-acl-regression.patch (text/plain), 1.04 KB, created by
Trond Myklebust
on 2014-08-24 18:57:14 UTC
(
hide
)
Description:
Fix another acl regression
Filename:
MIME Type:
Creator:
Trond Myklebust
Created:
2014-08-24 18:57:14 UTC
Size:
1.04 KB
patch
obsolete
>From 7b0db032df8b6fca170fd3d23863985527ed2be0 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. > >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 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1132786
: 930219