diff options
author | 2015-02-24 02:47:04 -0800 | |
---|---|---|
committer | 2015-04-26 06:27:00 -0700 | |
commit | 67b7859e9bfa0dcee5a8256932e393e98739be1b (patch) | |
tree | 97cc477d3597187e4aa4e450ba74e06f7eda4f35 /scripts/gdb/linux/utils.py | |
parent | Btrfs: fix find_free_dev_extent() malfunction in case device tree has hole (diff) | |
download | linux-rng-67b7859e9bfa0dcee5a8256932e393e98739be1b.tar.xz linux-rng-67b7859e9bfa0dcee5a8256932e393e98739be1b.zip |
btrfs: handle ENOMEM in btrfs_alloc_tree_block
This is one of the first places to give out when memory is tight. Handle
it properly rather than with a BUG_ON.
Also fix the comment about the return value, which is an ERR_PTR, not
NULL, on error.
Signed-off-by: Omar Sandoval <osandov@osandov.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions