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)
commitfc187514d8af3a676c7bd7922439f9f5e5c6223f
tree29d62c2d0b603883a98c4d9ea897a5a91589c049
parentfdbd1a2e4a71adcb1ae219fcfd964930d77a7f84
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