diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-05-25 10:40:12 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-03 08:22:07 +0200 |
commit | e8b8418ce14ae66ee55179901edd12191ab06a9e (patch) | |
tree | 293d4ceac90e3941e42ee3cf8031a7e913f3b176 /net/tipc | |
parent | 9d280ab53df1d4a1043bd7a9e7c6a2f9cfbfe040 (diff) |
NFS: Don't corrupt the value of pg_bytes_written in nfs_do_recoalesce()
commit 0d0ea309357dea0d85a82815f02157eb7fcda39f upstream.
The value of mirror->pg_bytes_written should only be updated after a
successful attempt to flush out the requests on the list.
Fixes: a7d42ddb3099 ("nfs: add mirroring support to pgio layer")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions