NFSv4: don't reprocess cached open CLAIM_PREVIOUS
authorWeston Andros Adamson <dros@netapp.com>
Mon, 21 Oct 2013 17:10:13 +0000 (13:10 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Nov 2013 19:11:48 +0000 (11:11 -0800)
commit231817ee68a9640d91ef34ce12c4d67b38f17ed8
tree6180da7c71bae68f1c88f3f71022a74856dee0a1
parenta5178adbeda8c532361fd22a6dff3bf699ab8b13
NFSv4: don't reprocess cached open CLAIM_PREVIOUS

commit d2bfda2e7aa036f90ccea610a657064b1e267913 upstream.

Cached opens have already been handled by _nfs4_opendata_reclaim_to_nfs4_state
and can safely skip being reprocessed, but must still call update_open_stateid
to make sure that all active fmodes are recovered.

Signed-off-by: Weston Andros Adamson <dros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/nfs4proc.c