OSDN Git Service

NFS: Fix writepage(s) error handling to not report errors twice
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 24 Aug 2019 14:39:00 +0000 (10:39 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 26 Aug 2019 19:31:29 +0000 (15:31 -0400)
commit96c4145599b30c0eb6cbeaa24207802452dd1872
tree7eadc2c945d070256d2213ef8e7f2fde86e79d44
parent8f54c7a4babf58bbaf849e126f7ae9664bdc9e04
NFS: Fix writepage(s) error handling to not report errors twice

If writepage()/writepages() saw an error, but handled it without
reporting it, we should not be re-reporting that error on exit.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/write.c