git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b564d8
)
dm array: fix a reference counting bug in shadow_ablock
author
Joe Thornber
<ejt@redhat.com>
Fri, 13 Dec 2013 14:55:55 +0000
(14:55 +0000)
committer
Mike Snitzer
<snitzer@redhat.com>
Fri, 13 Dec 2013 19:22:10 +0000
(14:22 -0500)
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>
Cc: stable@vger.kernel.org # 3.9+
drivers/md/persistent-data/dm-array.c
patch
|
blob
|
history
diff --cc
drivers/md/persistent-data/dm-array.c
Simple merge