Skip to content

Remove some BUG_ONs

David Sterba linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3btrfs: remove BUG_ON from __tree_mod_log_insertfs/btrfs/ctree.c+0 -21 reply
2/3btrfs: handle allocation error in update_dev_stat_itemfs/btrfs/volumes.c+2 -11 reply
3/3btrfs: do proper error handling in btrfs_insert_xattr_itemfs/btrfs/dir-item.c+2 -12 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchLiu Bo
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Remove some BUG_ONs

Minor cleanup in the BUG_ONs, where could be either removed or replaced by proper error handling where the call chain is ready for that. For 4.11.

David Sterba (3):
btrfs: remove BUG_ON from __tree_mod_log_insert
btrfs: handle allocation error in update_dev_stat_item
btrfs: do proper error handling in btrfs_insert_xattr_item

 fs/btrfs/ctree.c    | 2 --
 fs/btrfs/dir-item.c | 3 ++-
 fs/btrfs/volumes.c  | 3 ++-
 3 files changed, 4 insertions(+), 4 deletions(-)