btrfs-progs: catch memory allocation failure in btrfs_split_item
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:51 +0000 (15:02 +0100)
commitb98ad87a037c053da533d7d9929583b9ea42c86c
tree8aa69ad1f5457ab79b5ff62c48d5adf3f5f92e44
parentef45c6b9db20bd4aa9cd0bb6f3f05cec41e21f96
btrfs-progs: catch memory allocation failure in btrfs_split_item

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

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