nfsd4: more robust ignoring of WANT bits in OPEN
authorJ. Bruce Fields <bfields@redhat.com>
Mon, 10 Oct 2011 21:44:19 +0000 (17:44 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 11 Oct 2011 16:15:15 +0000 (12:15 -0400)
commitb6d2f1ca3c1162f51098969e9c52fd099720416a
treebf8fa7abd3b601902ac034248a07b274b33e45fd
parenta084daf512bb66fa3c8e21c7027daea521179cd0
nfsd4: more robust ignoring of WANT bits in OPEN

Mask out the WANT bits right at the start instead of on each use.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4proc.c
fs/nfsd/nfs4state.c