https://github.com/torvalds/linux
Revision 4dcb8b57df3593dcb20481d9d6cf79d1dc1534be authored by Mike Snitzer on 22 October 2015, 14:56:40 UTC, committed by Mike Snitzer on 23 October 2015, 18:02:55 UTC
btree_split_beneath()'s error path had an outstanding FIXME that speaks
directly to the potential for _not_ cleaning up a previously allocated
bufio-backed block.

Fix this by releasing the previously allocated bufio block using
unlock_block().

Reported-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Acked-by: Joe Thornber <thornber@redhat.com>
Cc: stable@vger.kernel.org
1 parent 2871c69
History
Tip revision: 4dcb8b57df3593dcb20481d9d6cf79d1dc1534be authored by Mike Snitzer on 22 October 2015, 14:56:40 UTC
dm btree: fix leak of bufio-backed block in btree_split_beneath error path
Tip revision: 4dcb8b5
File Mode Size
Documentation
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 5.3 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.9 KB
Kbuild -rw-r--r-- 2.6 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 319.7 KB
Makefile -rw-r--r-- 53.2 KB
README -rw-r--r-- 18.2 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top