]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fix page leakage
authorJosef Bacik <jbacik@fusionio.com>
Fri, 5 Oct 2012 20:53:34 +0000 (16:53 -0400)
committerChris Mason <chris.mason@fusionio.com>
Tue, 9 Oct 2012 13:20:56 +0000 (09:20 -0400)
commitb3e18e94de480a4ead860c083ba3db630bb4fd5a
tree34e972598969d614eca15082588e8b9ee38d8471
parent994d67d833abc3322f7f3456f2cbfdda908d3755
Btrfs: fix page leakage

Alloc_dummy_extent_buffer will not free the first page in the eb array if we
fail to allocate a page, fix this.  Thanks,

Reported-by: David Sterba <dave@jikos.cz>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/extent_io.c