[Linux-stable-mirror] [PATCH] dm: Fix a recently introduced reference counting bug