nfsd4: fix use of op_share_access
authorJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 19 May 2010 00:01:35 +0000 (20:01 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Mon, 31 May 2010 16:43:55 +0000 (12:43 -0400)
commit24a0111e405abeb74701ce3b7b665365c27de19e
tree97812d2abd30aeebf9eb1d4977b34a0175665e23
parent172c85dd5764d2766bfd68621e5b54e85c4a6cfa
nfsd4: fix use of op_share_access

NFSv4.1 adds additional flags to the share_access argument of the open
call.  These flags need to be masked out in some of the existing code,
but current code does that inconsistently.

Tested-by: Michael Groshans <groshans@citi.umich.edu>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/nfs4state.c