commit | dac97e516c617f9c797f64b0224050b70aea30c7 | [log] [tgz] |
---|---|---|
author | Yoshinori Sano <yoshinori.sano@gmail.com> | Tue Feb 15 12:01:42 2011 +0000 |
committer | root <Chris Mason chris.mason@oracle.com> | Mon Mar 28 05:37:49 2011 -0400 |
tree | c5c7e7a40e649ee9beb9014b284d3a6e66fb94f2 | |
parent | c622ae6085d0c6ad834213bbf1477eb311359078 [diff] |
Btrfs: fix uncheck memory allocations 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>