aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/asn1_compiler.c
diff options
context:
space:
mode:
authorOmar Sandoval <[email protected]>2015-02-24 10:47:04 +0000
committerChris Mason <[email protected]>2015-04-26 13:27:00 +0000
commit67b7859e9bfa0dcee5a8256932e393e98739be1b (patch)
tree97cc477d3597187e4aa4e450ba74e06f7eda4f35 /scripts/asn1_compiler.c
parentBtrfs: fix find_free_dev_extent() malfunction in case device tree has hole (diff)
downloadkernel-67b7859e9bfa0dcee5a8256932e393e98739be1b.tar.gz
kernel-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 <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'scripts/asn1_compiler.c')
0 files changed, 0 insertions, 0 deletions