NFSv4: Handle early exit in layoutget by returning an error
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 13 Feb 2019 12:55:31 +0000 (07:55 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 2 Mar 2019 03:37:37 +0000 (22:37 -0500)
commit18c0778a650b21f8729576b7bc382447d2027d4d
treeb2ac7087d2d209ad2f5177d2cffb1725b3a42241
parentf0922a6c0cdb928d21c2599f9671206237e7e505
NFSv4: Handle early exit in layoutget by returning an error

If the LAYOUTGET rpc call exits early without an error, convert it to
EAGAIN.

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