]> 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)
commitefffc59c50e1a0785e122f43877758f7fd0b15a1
tree3fafd80f62d349a970b83490999c8fe6bad9480d
parenteb380fe72b0a3082d9449df545d9c86ac1f5758d
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