From: J. Bruce Fields Date: Mon, 15 Aug 2011 20:57:07 +0000 (-0400) Subject: nfsd4: fix incorrect comment in nfsd4_set_nfs4_acl X-Git-Tag: next-20110829~68^2~3 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e281d8100995133dc65e00b1dec8f84b91b6e8c3;p=karo-tx-linux.git 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 --- diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c index 0c92a17d1770..4c22870293e6 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;