nfs: fix setting of ACLs on file creation.
authorNoah Massey <noah.massey@gmail.com>
Fri, 31 Jan 2014 02:31:12 +0000 (21:31 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 1 Feb 2014 01:36:07 +0000 (20:36 -0500)
commit718360c59f34b80d9878429300c1c688f7c2031d
tree498355f6b0b096f46d6a55fe2e9f1abf8c2ef249
parent8a1f006ad302ea178aefb1f8c67e679c696289e9
nfs: fix setting of ACLs on file creation.

nfs3_get_acl() tries to skip posix equivalent ACLs, but misinterprets
the return value of posix_acl_equiv_mode(). Fix it.

This is a regression introduced by
"nfs: use generic posix ACL infrastructure for v3 Posix ACLs"

CC: Christoph Hellwig <hch@infradead.org>
CC: linux-nfs@vger.kernel.org
CC: linux-fsdevel@vger.kernel.org
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs3acl.c