]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Don't report errors from nfs_pageio_complete() more than once
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 14 May 2022 14:27:04 +0000 (10:27 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 17 May 2022 16:01:59 +0000 (12:01 -0400)
commit83b09aca50cee10db6a24ebd1d9ad8bc8e66e90d
treedd275d367d2b59466daa72e716afede3860cadaf
parent17681a92e2c300d441a91978f9a2359c815ec033
NFS: Don't report errors from nfs_pageio_complete() more than once

Since errors from nfs_pageio_complete() are already being reported
through nfs_async_write_error(), we should not be returning them to the
callers of do_writepages() as well. They will end up being reported
through the generic mechanism instead.

Fixes: fce4e8f20018 ("NFS: Replace custom error reporting mechanism with generic one")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/write.c