diff options
author | J. Bruce Fields <bfields@redhat.com> | 2011-08-15 20:57:07 (GMT) |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-08-26 22:22:49 (GMT) |
commit | e281d8100995133dc65e00b1dec8f84b91b6e8c3 (patch) | |
tree | c8c6d62daef31a0241f22b666265a6108a51ad0b /fs | |
parent | e10f9e1413576f58c18b89f6ae212a37a88b24e7 (diff) | |
download | linux-fsl-qoriq-e281d8100995133dc65e00b1dec8f84b91b6e8c3.tar.xz |
nfsd4: fix incorrect comment in nfsd4_set_nfs4_acl
Zero means "I don't care what kind of file this is". And that's
probably what we want--acls are also settable at least on directories,
and if the filesystem doesn't want them on other objects, leave it to it
to complain.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfsd/vfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c index 0c92a17..4c22870 100644 --- a/fs/nfsd/vfs.c +++ b/fs/nfsd/vfs.c @@ -502,7 +502,7 @@ nfsd4_set_nfs4_acl(struct svc_rqst *rqstp, struct svc_fh *fhp, unsigned int flags = 0; /* Get inode */ - error = fh_verify(rqstp, fhp, 0 /* S_IFREG */, NFSD_MAY_SATTR); + error = fh_verify(rqstp, fhp, 0, NFSD_MAY_SATTR); if (error) return error; |