[PATCH v2 0/2] replace BUG() and BUG_ON() with error handling

Adarsh Das posted 2 patches 1 month, 2 weeks ago
fs/btrfs/compression.c | 74 ++++++++++++++----------------------------
fs/btrfs/delayed-ref.c |  8 +++--
fs/btrfs/extent-tree.c | 62 +++++++++++++++++------------------
3 files changed, 61 insertions(+), 83 deletions(-)
[PATCH v2 0/2] replace BUG() and BUG_ON() with error handling
Posted by Adarsh Das 1 month, 2 weeks ago
v2:
- replace btrfs_err() + -EUCLEAN with ASSERT() for runtime logic bugs as suggested by Qu Wenruo
- fold coding style fixes into main patches

Adarsh Das (2):
  btrfs: replace BUG() with error handling in compression.c
  btrfs: replace BUG() and BUG_ON() with error handling in extent-tree.c

 fs/btrfs/compression.c | 74 ++++++++++++++----------------------------
 fs/btrfs/delayed-ref.c |  8 +++--
 fs/btrfs/extent-tree.c | 62 +++++++++++++++++------------------
 3 files changed, 61 insertions(+), 83 deletions(-)

-- 
2.53.0