]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Report the error from nfs4_select_rw_stateid()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 22 Jul 2019 17:06:17 +0000 (18:06 +0100)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 5 Aug 2019 02:35:40 +0000 (22:35 -0400)
commit2202146fd963138009d5f4a800b9571a63204d57
tree8990cf47dde9b35989d24bc658fab2ad4b5b8eb7
parente71ec4de0874389d272655303788c3215b0b5962
NFSv4: Report the error from nfs4_select_rw_stateid()

In pnfs_update_layout() ensure that we do report any fatal errors from
nfs4_select_rw_stateid().

Fixes: 9ec74eec2253 ("NFSv4: Don't use the zero stateid with layoutget")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/pnfs.c