pNFS: Ensure nfs4_layoutget_prepare returns the correct error
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 28 Dec 2015 15:32:11 +0000 (10:32 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 28 Dec 2015 19:33:03 +0000 (14:33 -0500)
commitab7d763e477c5be33ac9cffc68e808bbd69371f7
tree85d5e407fa8f21091353b832851fcb11a371f238
parentf4848303ce125999886535323a64db26dba68293
pNFS: Ensure nfs4_layoutget_prepare returns the correct error

If we're unable to perform the layoutget due to an invalid open stateid
or a bulk recall, ensure that we return the error so that the caller
can decide on an appropriate action.

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