diff options
author | Gui Hecheng <guihc.fnst@cn.fujitsu.com> | 2014-06-26 10:53:04 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2014-08-22 14:43:11 +0200 |
commit | cc1c1eab1792db37593d4c840bfaef1e6af831d7 (patch) | |
tree | a17bafd679909b4d3b21866fce031fd058c12485 /radix-tree.h | |
parent | aada0509618c3e358e1b2eb164647f0b9a12c646 (diff) |
btrfs-progs: cleanup possible silent failure in btrfs-image
If the malloc above fails, the btrfs-image will exit directly
without any error messages.
Now just return the ENOMEM errno and let the caller prompt the
error message.
Signed-off-by: Gui Hecheng <guihc.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'radix-tree.h')
0 files changed, 0 insertions, 0 deletions