Re: [PATCH v2 1/3] btrfs: handle ENOMEM in btrfs_alloc_tree_block
From: David Sterba
Date: Fri Mar 13 2015 - 09:34:46 EST
On Tue, Feb 24, 2015 at 02:47:04AM -0800, Omar Sandoval wrote:
> 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@xxxxxxxxxxx>
Reviewed-by: David Sterba <dsterba@xxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/