]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit449439fd4583a81ea7f0fde4be80fa7af3d79acf
tree3fafd80f62d349a970b83490999c8fe6bad9480d
parent6553cdb7f12ddd4bca65d786822e5dd2e1ba6b2e
Btrfs: do not continue if out of memory happens

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>
fs/btrfs/backref.c