NFSv4: Fix another reboot recovery race
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 28 Mar 2013 18:01:33 +0000 (14:01 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 28 Mar 2013 20:22:16 +0000 (16:22 -0400)
If the open_context for the file is not yet fully initialised,
then open recovery cannot succeed, and since nfs4_state_find_open_context
returns an ENOENT, we end up treating the file as being irrecoverable.

What we really want to do, is just defer the recovery until later.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

No differences found