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)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 28 Oct 2013 19:10:56 +0000 (15:10 -0400)
commitd2bfda2e7aa036f90ccea610a657064b1e267913
treed14bccd93fb38225f765a43492a0faa92a8ba134
parentd49f042aeec99c5f87160bb52dd52088b1051311
NFSv4: don't reprocess cached open CLAIM_PREVIOUS

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>
Cc: stable@vger.kernel.org # 3.7.x: f494a6071d3: NFSv4: fix NULL dereference
Cc: stable@vger.kernel.org # 3.7.x: a43ec98b72a: NFSv4: don't fail on missin
Cc: stable@vger.kernel.org # 3.7.x
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c