From: Wang Shilong <[email protected]>

The first patch removes some BUG_ONs() when walking backref tree.
These BUG_ON()s can only be triggered because of ENOMEM, and the caller
has checked the return value about it. So we just return directly rather
than trigger BUG_ON() when out of memory happens.

The second patch just makes some functions' return value be void, Since
these functions always return 0.

Wang Shilong (2):
  Btrfs: remove some BUG_ONs() when walking backref tree
  Btrfs: make some functions return type be void in backref.c

 fs/btrfs/backref.c |   28 ++++++++++++----------------
 1 files changed, 12 insertions(+), 16 deletions(-)

-- 
1.7.7.6

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to