summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-raid.c
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2012-03-07 20:09:44 +0100
committerAlasdair G Kergon <agk@redhat.com>2012-03-07 20:09:44 +0100
commitaf63bcb817cf708f53bcae6edc2e3fb7dd7d8051 (patch)
tree9c38899465b9bc3b8ae613b41a70ab0ff02030d1 /drivers/md/dm-raid.c
parentdm thin metadata: unlock superblock in init_pmd error path (diff)
downloadlinux-af63bcb817cf708f53bcae6edc2e3fb7dd7d8051.tar.xz
linux-af63bcb817cf708f53bcae6edc2e3fb7dd7d8051.zip
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>
Diffstat (limited to 'drivers/md/dm-raid.c')
0 files changed, 0 insertions, 0 deletions