btrfs-progs: inspect: Bypass unnecessary clean function in open_error
authorZhao Lei <zhaolei@cn.fujitsu.com>
Mon, 12 Oct 2015 13:22:57 +0000 (21:22 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 2 Nov 2015 08:35:01 +0000 (09:35 +0100)
commit97a9818716f023e67171229cbe087053132df70b
treed54356c5dad55b7e0fa8a5a967bda429b2354a32
parent45401669b099893b41919f9c707b8ea528bcdfa5
btrfs-progs: inspect: Bypass unnecessary clean function in open_error

No need to cleanup fd in open_fail case, because it is not opened.

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
cmds-inspect.c