Btrfs: fix uncheck memory allocations
authorYoshinori Sano <yoshinori.sano@gmail.com>
Tue, 15 Feb 2011 12:01:42 +0000 (12:01 +0000)
committerroot <Chris Mason chris.mason@oracle.com>
Mon, 28 Mar 2011 09:37:49 +0000 (05:37 -0400)
To make Btrfs code more robust, several return value checks where memory
allocation can fail are introduced. I use BUG_ON where I don't know how
to handle the error properly, which increases the number of using the
notorious BUG_ON, though.

Signed-off-by: Yoshinori Sano <yoshinori.sano@gmail.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>

No differences found