Btrfs: do not continue if out of memory happens
authorWang Shilong <wangsl-fnst@cn.fujitsu.com>
Mon, 15 Apr 2013 10:26:38 +0000 (10:26 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Mon, 6 May 2013 19:54:50 +0000 (15:54 -0400)
If out of memory happens, we should return -ENOMEM directly to the caller
rather than continue the work.

Signed-off-by: Wang Shilong <wangsl-fnst@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>

No differences found