summaryrefslogtreecommitdiff
path: root/fs/btrfs/compat.h
diff options
context:
space:
mode:
authorWang Shilong <wangsl-fnst@cn.fujitsu.com>2013-03-01 11:36:01 +0000
committerJosef Bacik <jbacik@fusionio.com>2013-03-01 10:13:04 -0500
commit88e081bf82ffcb9be3ad33d04c829051d66da564 (patch)
tree32a05e25761a097e0cdbf0c6bf215c47ef9e96a1 /fs/btrfs/compat.h
parenta9870c0e031527fbfa382019f30d2e9b98124a0d (diff)
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 <wangsl-fnst@cn.fujitsu.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/btrfs/compat.h')
0 files changed, 0 insertions, 0 deletions