dm thin: fix missing pool reference count decrement in pool_ctr error path
authorMike Snitzer <snitzer@redhat.com>
Tue, 13 Oct 2015 16:04:28 +0000 (12:04 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Oct 2015 00:44:50 +0000 (09:44 +0900)
commitad824a8286dd4db9c23e3e3febdd63d4c2c4ae9e
treec067ac3ab24171daecfc356b2e06383196e6eebb
parent334c94072f03ff42ea823e81351f9baa933b4739
dm thin: fix missing pool reference count decrement in pool_ctr error path

commit ba30670f4d5292c4e7f7980bbd5071f7c4794cdd upstream.

Fixes: ac8c3f3df ("dm thin: generate event when metadata threshold passed")
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/md/dm-thin.c