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)
commit0377a07c7a035e0d033cd8b29f0cb15244c0916a
treed15b805b1765ee133b7def706aa00892f9443018
parent91bcdb92d39711d1adb40c26b653b7978d93eb98
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