diff options
author | Filipe Brandenburger <filbranden@google.com> | 2012-11-30 03:40:09 +0000 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2012-12-16 20:46:17 -0500 |
commit | 43baa579b3b1f059f68c51ef754ec59c87a35745 (patch) | |
tree | 2608bbb8fe5399d5e8c584c3807f2da449664247 /fs/efs | |
parent | 2794ed013b3551cbae887ea1b93c52aaacb7370d (diff) | |
download | linux-43baa579b3b1f059f68c51ef754ec59c87a35745.tar.gz linux-43baa579b3b1f059f68c51ef754ec59c87a35745.tar.bz2 linux-43baa579b3b1f059f68c51ef754ec59c87a35745.zip |
Btrfs: refactor error handling to drop inode in btrfs_create()
Refactor it by checking whether the inode has been created and needs to be
dropped (drop_inode_on_err) and also if the err variable is set. That way the
variable doesn't need to be set on each and every error handling block.
Signed-off-by: Filipe Brandenburger <filbranden@google.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/efs')
0 files changed, 0 insertions, 0 deletions