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:28:03 +0000 (11:28 -0800)
commit502bb2cc3514ae5e0785ea18788073835c158ddd
tree9ce07f84028883059022f238aca7b634400472c3
parent941e4b799c8b899c9267849c0ccba8b318dbcdc2
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