]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
NFSv4/flexfiles: Use ds_commit_idx when marking a write commit
authorJonathan Curley <jcurley@purestorage.com>
Wed, 24 Sep 2025 16:20:43 +0000 (16:20 +0000)
committerAnna Schumaker <anna.schumaker@oracle.com>
Fri, 26 Sep 2025 19:30:20 +0000 (15:30 -0400)
commiteb71428e1a7fb51b8d43762db1c2ec1d8a7a95b6
tree163aa8d911ded8200ab79785bd709957810c5d20
parentfec80afc41afa3016421115427df8d00dc491ee5
NFSv4/flexfiles: Use ds_commit_idx when marking a write commit

Correct this path to use ds_commit_idx. Another noop preparation
change. In current code commit_idx == mirror_idx but when striping is
enabled that will not be true.

Signed-off-by: Jonathan Curley <jcurley@purestorage.com>
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
fs/nfs/write.c