diff options
author | Huaisheng Ye <yehs1@lenovo.com> | 2020-06-12 23:59:11 +0800 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2020-06-17 12:25:41 -0400 |
commit | 39495b12ef1cf602e6abd350dce2ef4199906531 (patch) | |
tree | 3d3ce61f0cd9628d08a41d361bf64a958ee15e17 /ipc/mq_sysctl.c | |
parent | 7b2377486767503d47265e4d487a63c651f6b55d (diff) | |
download | linux-39495b12ef1cf602e6abd350dce2ef4199906531.tar.bz2 |
dm writecache: correct uncommitted_block when discarding uncommitted entry
When uncommitted entry has been discarded, correct wc->uncommitted_block
for getting the exact number.
Fixes: 48debafe4f2fe ("dm: add writecache target")
Cc: stable@vger.kernel.org
Signed-off-by: Huaisheng Ye <yehs1@lenovo.com>
Acked-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'ipc/mq_sysctl.c')
0 files changed, 0 insertions, 0 deletions