]> 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)
commit398e15ad0d0ae85d1c2b7823e3c16c11fafc21f2
tree8990cf47dde9b35989d24bc658fab2ad4b5b8eb7
parenta7c01a98c15f8cf24d55bd8c9788fc0019a0ef0b
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: 0265f53f7c55 ("NFSv4: Don't use the zero stateid with layoutget")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/pnfs.c