btrfs-progs: deal with malloc failure in btrfs-image
authorGui Hecheng <guihc.fnst@cn.fujitsu.com>
Thu, 26 Jun 2014 02:53:02 +0000 (10:53 +0800)
committerDavid Sterba <dsterba@suse.cz>
Fri, 22 Aug 2014 12:43:11 +0000 (14:43 +0200)
commitaada0509618c3e358e1b2eb164647f0b9a12c646
tree9ede5d9e8a8a4a8c1d8a7f9bd0b6aecdde98490b
parentad70b55b66b516d0d8271a8f16bee7192c556987
btrfs-progs: deal with malloc failure in btrfs-image

Handle the malloc failure for dump_worker in the same way as
the restore worker.

Signed-off-by: Gui Hecheng <guihc.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
btrfs-image.c