]> git.baikalelectronics.ru Git - kernel.git/commit
dm space map disk: fix some book keeping in the disk space map
authorJoe Thornber <ejt@redhat.com>
Mon, 15 May 2017 13:45:40 +0000 (09:45 -0400)
committerMike Snitzer <snitzer@redhat.com>
Mon, 15 May 2017 19:09:50 +0000 (15:09 -0400)
commitbe63c86bee25a38575af55f4bf99ecad8b371988
treed15b805b1765ee133b7def706aa00892f9443018
parent9f51c37b18031aff8e7e3309ae080a40f0ef2739
dm space map disk: fix some book keeping in the disk space map

When decrementing the reference count for a block, the free count wasn't
being updated if the reference count went to zero.

Cc: stable@vger.kernel.org
Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/persistent-data/dm-space-map-disk.c