nfsd: Fix unnecessary deny bits in NFSv4 ACL
authorFrank Filz <ffilzlnx@us.ibm.com>
Fri, 14 Aug 2009 22:02:30 +0000 (15:02 -0700)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 25 Aug 2009 00:01:22 +0000 (20:01 -0400)
The group deny entries end up denying tcy even though tcy was just
allowed by the allow entry. This appears to be due to:
ace->access_mask = mask_from_posix(deny, flags);
instead of:
ace->access_mask = deny_mask_from_posix(deny, flags);

Denying a previously allowed bit has no effect, so this shouldn't affect
behavior, but it's ugly.

Signed-off-by: Frank Filz <ffilzlnx@us.ibm.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/nfs4acl.c

Simple merge