]> git.karo-electronics.de Git - mv-sheeva.git/commit
NFSv4: Fix open recovery
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 4 Oct 2010 21:59:08 +0000 (17:59 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 19 Oct 2010 23:41:55 +0000 (19:41 -0400)
commitb0ed9dbc24f1fd912b2dd08b995153cafc1d5b1c
treebb86bfd7dabdab7b3df4f24e12b7f90bc045b201
parentbc4866b6e0b44f8ea0df22a16e5927714beb4983
NFSv4: Fix open recovery

NFSv4 open recovery is currently broken: since we do not clear the
state->flags states before attempting recovery, we end up with the
'can_open_cached()' function triggering. This again leads to no OPEN call
being put on the wire.

Reported-by: Sachin Prabhu <sprabhu@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@kernel.org
fs/nfs/nfs4proc.c