NFSv4.1: Handle BAD_STATEID and EXPIRED errors in layoutget
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 2 Oct 2012 00:25:48 +0000 (17:25 -0700)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 2 Oct 2012 15:34:29 +0000 (08:34 -0700)
commitee314c2a35ee7ea7ffa72e2aca83b041138f3358
treeeda86a9d173d4e7113bdf5b62924b08c2d9cf5d5
parent6f018efac14eb267d3ba0aa4294594b556147dba
NFSv4.1: Handle BAD_STATEID and EXPIRED errors in layoutget

If the layoutget call returns a stateid error, we want to invalidate the
layout stateid, and/or recover the open stateid.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c