Btrfs: do not continue if out of memory happens
authorWang Shilong <[email protected]>
Mon, 15 Apr 2013 10:26:38 +0000 (10:26 +0000)
committerJosef Bacik <[email protected]>
Mon, 6 May 2013 19:54:50 +0000 (15:54 -0400)
commite36902d4cc95382771f501f8d1d8c0a9b356500d
tree3fafd80f62d349a970b83490999c8fe6bad9480d
parent9c931c5ab2e97f4408e314518ad22845eca6ed89
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 <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
fs/btrfs/backref.c