]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Btrfs: Fix space checking during fs resize
authorDaniel J Blueman <daniel@quora.org>
Fri, 27 Apr 2012 16:41:46 +0000 (12:41 -0400)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Wed, 14 Nov 2012 16:24:35 +0000 (08:24 -0800)
commitf9141e6e3fad3aebdfd1ee163f3aedc2d879be76
treeade94573b0f21e7c59e5a250c10e24e3518849ad
parent3d19da121e2d6afa36e96e6e89fb9dea26617198
Btrfs: Fix space checking during fs resize

Fix out-of-space checking, addressing a warning and potential resource
leak when resizing the filesystem down while allocating blocks.

Signed-off-by: Daniel J Blueman <daniel@quora.org>
Reviewed-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
(cherry picked from commit 7654b72417e10e294563496e25211200f9b8b6d3)
fs/btrfs/relocation.c