diff options
author | Joe Thornber <ejt@redhat.com> | 2012-03-07 19:09:44 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-03-12 12:31:46 -0700 |
commit | 73b249403dcb121671bb1f5df101e9ee59b31160 (patch) | |
tree | 852ae4ddf2cef2ed1b7c4d4fff178121a8b29dd3 /drivers/media | |
parent | b995290dfc5c32a6c7006002e54fed30e4b8f829 (diff) |
dm thin metadata: decrement counter after removing mapped block
commit af63bcb817cf708f53bcae6edc2e3fb7dd7d8051 upstream.
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>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/media')
0 files changed, 0 insertions, 0 deletions