NFS: Use the correct commit info in nfs_join_page_group()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 4 Sep 2023 16:34:40 +0000 (12:34 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 13 Sep 2023 15:51:11 +0000 (11:51 -0400)
commitb193a78ddb5ee7dba074d3f28dc050069ba083c0
treee235d2d12cebe2873ba5c2349b02bb45f273b4bb
parent8982f7aff39fb526aba4441fff2525fcedd5e1a3
NFS: Use the correct commit info in nfs_join_page_group()

Ensure that nfs_clear_request_commit() updates the correct counters when
it removes them from the commit list.

Fixes: ed5d588fe47f ("NFS: Try to join page groups before an O_DIRECT retransmission")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/direct.c
fs/nfs/write.c
include/linux/nfs_page.h