NFSv4: Ensure that we clear the NFS_OPEN_STATE flag when appropriate
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 22 Apr 2013 15:29:51 +0000 (11:29 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 22 Apr 2013 15:29:51 +0000 (11:29 -0400)
commitfd068b200fb86e8fa52368e6f6088d2ab297a5d7
treef2b75692b49b7f263dd0a27d4186b111bc4d24b0
parent1dfd89af8697a299e7982ae740d4695ecd917eef
NFSv4: Ensure that we clear the NFS_OPEN_STATE flag when appropriate

We should always clear it before initiating file recovery.
Also ensure that we clear it after a CLOSE and/or after TEST_STATEID fails.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c