]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dm-stats: fix merge accounting
authorMikulas Patocka <mpatocka@redhat.com>
Fri, 10 Jul 2026 16:35:49 +0000 (18:35 +0200)
committerMikulas Patocka <mpatocka@redhat.com>
Fri, 10 Jul 2026 16:40:00 +0000 (18:40 +0200)
commit1917eb2db750ecbdf710f79a8042eaa545a063c7
tree813f61e17603e24df1b1d5e3132aec13973bb538
parent422f1d4f141eaa3a6e4199ceec86cc6b9bf26570
dm-stats: fix merge accounting

There were wrong parentheses when setting stats_aux->merged, so that
merging was never properly accounted. This commit fixes it.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Assisted-by: Claude:claude-opus-4-6
Fixes: fd2ed4d25270 ("dm: add statistics support")
Cc: stable@vger.kernel.org
drivers/md/dm-stats.c