]> git.baikalelectronics.ru Git - kernel.git/commit
nfs: remove redundant call to nfs_context_set_write_error()
authorBenjamin Coddington <bcodding@redhat.com>
Thu, 18 Oct 2018 19:01:49 +0000 (15:01 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 18 Oct 2018 21:20:57 +0000 (17:20 -0400)
commit2b065ef8c33e4c10d7f40f5e2993d9d368c8f574
tree29d62c2d0b603883a98c4d9ea897a5a91589c049
parent1f12be1bb087e4c276f0e1c10150c4d1a80e5ad9
nfs: remove redundant call to nfs_context_set_write_error()

We don't need to call this in the direct, read, or pnfs resend paths and
the only other caller is the write path in nfs_page_async_flush() which
already checks and sets the pg_error on the context.

Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/pagelist.c