diff options
| author | Wang Shilong <[email protected]> | 2013-03-01 11:36:01 +0000 |
|---|---|---|
| committer | Josef Bacik <[email protected]> | 2013-03-01 15:13:04 +0000 |
| commit | 88e081bf82ffcb9be3ad33d04c829051d66da564 (patch) | |
| tree | 32a05e25761a097e0cdbf0c6bf215c47ef9e96a1 /net/unix/af_unix.c | |
| parent | Btrfs: don't call btrfs_qgroup_free if just btrfs_qgroup_reserve fails (diff) | |
| download | kernel-88e081bf82ffcb9be3ad33d04c829051d66da564.tar.gz kernel-88e081bf82ffcb9be3ad33d04c829051d66da564.zip | |
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 <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
