]> 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)
commitcd3c624ed8e0b821b5d471f3e84f93dde4a49de1
treed15b805b1765ee133b7def706aa00892f9443018
parent4f9604ee5b0055a547c5ec158cdb574888b3b535
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