Commit af63bcb817cf708f53bcae6edc2e3fb7dd7d8051
Committed by
Alasdair G Kergon
1 parent
4469a5f387
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
dm thin metadata: decrement counter after removing mapped block
Correct the number of mapped sectors shown on a thin device's status line by decrementing td->mapped_blocks in __remove() each time a block is removed. Signed-off-by: Joe Thornber <ejt@redhat.com> Acked-by: Mike Snitzer <snitzer@redhat.com> Cc: stable@kernel.org Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff