NFSv4: ACL in operations 'open' and 'create' should be used
authorYu Zhiguo <yuzg@cn.fujitsu.com>
Mon, 6 Jul 2009 09:24:16 +0000 (17:24 +0800)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 14 Jul 2009 16:16:47 +0000 (12:16 -0400)
commit9208faf297dddfa97a86d7224b6bf94f2e346dd9
treec93d67a14b2a12b77bec058df5510530d333bfc6
parent5a421ce3c062a87db0a9e7f2a0a7ee0a5b869aab
NFSv4: ACL in operations 'open' and 'create' should be used

ACL in operations 'open' and 'create' is decoded but never be used.
It should be set as the initial ACL for the object according to RFC3530.
If error occurs when setting the ACL, just clear the ACL bit in the
returned attr bitmap.

Signed-off-by: Yu Zhiguo <yuzg@cn.fujitsu.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/nfs4proc.c