btrfs-progs: catch memory allocation failure from alloc_data_backref
authorDavid Sterba <dsterba@suse.com>
Wed, 6 Jan 2016 14:52:11 +0000 (15:52 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 12 Jan 2016 14:02:50 +0000 (15:02 +0100)
commit87296b5541313b4792f2a5fe0a30045d64f99a74
treec75a3e80f307dd632a48372731e72d6eb0e94a29
parent62b4c169e448964c4918e29f0a65a8ac71a9c552
btrfs-progs: catch memory allocation failure from alloc_data_backref

Do the dumb BUG_ON now, the function needs more changes to handle all
errors.

Signed-off-by: David Sterba <dsterba@suse.com>
cmds-check.c