From: Wang Shilong Date: Fri, 1 Mar 2013 11:36:01 +0000 (+0000) Subject: Btrfs: cleanup to make the function btrfs_delalloc_reserve_metadata more logic X-Git-Tag: v3.9-rc1~17^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88e081bf82ffcb9be3ad33d04c829051d66da564;p=pandora-kernel.git Btrfs: cleanup to make the function btrfs_delalloc_reserve_metadata more logic The original code is a little confusing and not clear, The right way to deal with the kernel code like this: [...] if (ret) goto out; [...] So i move the common clean_up code to the place labeled with out_fail, this will be easier to maintain. Signed-off-by: Wang Shilong Signed-off-by: Josef Bacik --- Reading git-diff-tree failed