diff options
author | Gui Hecheng <guihc.fnst@cn.fujitsu.com> | 2014-02-17 18:19:49 +0800 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-03-21 06:23:17 -0700 |
commit | 015fba13cd1876e14e9fe27b14945d6c3dc9d99f (patch) | |
tree | 9ee4b3984609f206eed06659ae27384d110e1d38 /utils.c | |
parent | 2a7f8cf9eec0e2b0075fc82552594ebf35bb7093 (diff) |
btrfs-progs: fix fsck leaks on error returns
Add close_ctree()s before the "returns" on errors after open_ctree()
Also merge the err returns into the "goto + single return" pattern.
Signed-off-by: Gui Hecheng <guihc.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'utils.c')
0 files changed, 0 insertions, 0 deletions