]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Don't BUG_ON alloc_path errors in btrfs_balance()
authorMark Fasheh <mfasheh@suse.com>
Tue, 12 Jul 2011 18:10:23 +0000 (11:10 -0700)
committerMark Fasheh <mfasheh@suse.com>
Thu, 14 Jul 2011 21:14:45 +0000 (14:14 -0700)
commit3d15616cba270a327d681ec092753eb45b08c259
tree14c360f6adaef5c83299ec49fe2fb00dbafea1ee
parent0d3c7b6584127187e62515ec9702eaba640fc20b
btrfs: Don't BUG_ON alloc_path errors in btrfs_balance()

Dealing with this seems trivial - the only caller of btrfs_balance() is
btrfs_ioctl() which passes the error code directly back to userspace. There
also isn't much state to unwind (if I'm wrong about this point, we can
always safely move the allocation to the top of btrfs_balance() anyway).

Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/btrfs/volumes.c