]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Fix up return value on fatal errors in nfs_page_async_flush()
authorTrond Myklebust <trondmy@gmail.com>
Tue, 29 Jan 2019 20:52:55 +0000 (15:52 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 29 Jan 2019 21:33:24 +0000 (16:33 -0500)
commitd7ff1d3ac1b7930d049d3f34be17eeba264328fe
tree1141c7be7a3e0a012b1d65726c2d80806a0f9505
parente36bbfc57127da4ca3793e863ac4d08b7765a2b0
NFS: Fix up return value on fatal errors in nfs_page_async_flush()

Ensure that we return the fatal error value that caused us to exit
nfs_page_async_flush().

Fixes: 43cd9049800a ("NFSv4: Don't special case "launder"")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Cc: stable@vger.kernel.org # v4.12+
Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/write.c