summaryrefslogtreecommitdiff
path: root/drivers/md/dm-snap-persistent.c
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2013-12-13 14:55:55 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-20 15:49:04 (GMT)
commit7a3b9049fe0fa103b836bb706077de0e2a9c01aa (patch)
tree875d4ad5654388ad146b1555ae4641f93a732736 /drivers/md/dm-snap-persistent.c
parent7f4ed02192c0bdf3559999e92f51a2ce588fa0df (diff)
downloadlinux-fsl-qoriq-7a3b9049fe0fa103b836bb706077de0e2a9c01aa.tar.xz
dm array: fix a reference counting bug in shadow_ablock
commit ed9571f0cf1fe09d3506302610f3ccdfa1d22c4a upstream. An old array block could have its reference count decremented below zero when it is being replaced in the btree by a new array block. The fix is to increment the old ablock's reference count just before inserting a new ablock into the btree. Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/md/dm-snap-persistent.c')
0 files changed, 0 insertions, 0 deletions