btrfs: don't BUG_ON allocation errors in btrfs_drop_snapshot
authorMark Fasheh <mfasheh@suse.com>
Wed, 13 Jul 2011 17:59:59 +0000 (10:59 -0700)
committerMark Fasheh <mfasheh@suse.com>
Mon, 25 Jul 2011 21:35:15 +0000 (14:35 -0700)
In addition to properly handling allocation failure from btrfs_alloc_path, I
also fixed up the kzalloc error handling code immediately below it.

Signed-off-by: Mark Fasheh <mfasheh@suse.com>

No differences found