Re: [PATCH] Btrfs: do not continue if out of memory happens

2013-04-17 Thread David Sterba
On Mon, Apr 15, 2013 at 06:26:38PM +0800, Wang Shilong wrote: If out of memory happens, we should return -ENOMEM directly to the caller rather than continue the work. Reviewed-by: David Sterba dste...@suse.cz -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of

[PATCH] Btrfs: do not continue if out of memory happens

2013-04-15 Thread Wang Shilong
If out of memory happens, we should return -ENOMEM directly to the caller rather than continue the work. Signed-off-by: Wang Shilong wangsl-f...@cn.fujitsu.com --- fs/btrfs/backref.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/fs/btrfs/backref.c