OSDN Git Service

NFSv2: Fix write regression
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 27 Aug 2019 11:03:28 +0000 (07:03 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 27 Aug 2019 14:24:56 +0000 (10:24 -0400)
commitd33d4beb522987d1c305c12500796f9be3687dee
tree8c0dd613c6f870a4ae8e0584643d110dc84ee066
parent71affe9be45a5c60b9772e1b2701710712637274
NFSv2: Fix write regression

Ensure we update the write result count on success, since the
RPC call itself does not do so.

Reported-by: Jan Stancek <jstancek@redhat.com>
Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Tested-by: Jan Stancek <jstancek@redhat.com>
fs/nfs/proc.c