NFS41: map NFS4ERR_LAYOUTUNAVAILABLE to ENODATA
authorPeng Tao <tao.peng@primarydata.com>
Sat, 5 Dec 2015 09:01:01 +0000 (17:01 +0800)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 28 Dec 2015 19:32:38 +0000 (14:32 -0500)
commit7c1e6e58e2aa8b95d1b9888db1945eb0a388efb9
tree4aa247793c45f94ddd215311354156ee7aa7422a
parentd6c843b96e1cb5199147e3281a724e3c0b69a9ab
NFS41: map NFS4ERR_LAYOUTUNAVAILABLE to ENODATA

Instead of mapping it to EIO that is a fatal error and
fails application. We'll go inband after getting
NFS4ERR_LAYOUTUNAVAILABLE.

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