public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/14] More error handling and BUG_ON cleanups
@ 2024-02-08  8:59 David Sterba
  2024-02-08  8:59 ` [PATCH 01/14] btrfs: push errors up from add_async_extent() David Sterba
                   ` (14 more replies)
  0 siblings, 15 replies; 18+ messages in thread
From: David Sterba @ 2024-02-08  8:59 UTC (permalink / raw)
  To: linux-btrfs; +Cc: David Sterba

Continuation of https://lore.kernel.org/linux-btrfs/cover.1706130791.git.dsterba@suse.com/
BUG_ON converted to error handling, removed or moved.

David Sterba (14):
  btrfs: push errors up from add_async_extent()
  btrfs: update comment and drop assertion in extent item lookup in
    find_parent_nodes()
  btrfs: handle invalid extent item reference found in
    extent_from_logical()
  btrfs: handle invalid extent item reference found in
    find_first_extent_item()
  btrfs: handle invalid root reference found in may_destroy_subvol()
  btrfs: send: handle unexpected data in header buffer in begin_cmd()
  btrfs: send: handle unexpected inode in header process_recorded_refs()
  btrfs: send: handle path ref underflow in header iterate_inode_ref()
  btrfs: change BUG_ON to assertion in tree_move_down()
  btrfs: change BUG_ONs to assertions in btrfs_qgroup_trace_subtree()
  btrfs: delete pointless BUG_ON check on quota root in
    btrfs_qgroup_account_extent()
  btrfs: delete pointless BUG_ONs on extent item size
  btrfs: handle unexpected parent block offset in
    btrfs_alloc_tree_block()
  btrfs: delete BUG_ON in btrfs_init_locked_inode()

 fs/btrfs/backref.c     | 20 +++++++++++++++-----
 fs/btrfs/extent-tree.c | 12 ++++++++++--
 fs/btrfs/inode.c       | 23 ++++++++++++++++-------
 fs/btrfs/qgroup.c      |  6 ++----
 fs/btrfs/scrub.c       |  9 ++++++++-
 fs/btrfs/send.c        | 27 +++++++++++++++++++++++----
 6 files changed, 74 insertions(+), 23 deletions(-)

-- 
2.42.1


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2024-02-13 19:05 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-08  8:59 [PATCH 00/14] More error handling and BUG_ON cleanups David Sterba
2024-02-08  8:59 ` [PATCH 01/14] btrfs: push errors up from add_async_extent() David Sterba
2024-02-08  8:59 ` [PATCH 02/14] btrfs: update comment and drop assertion in extent item lookup in find_parent_nodes() David Sterba
2024-02-08  8:59 ` [PATCH 03/14] btrfs: handle invalid extent item reference found in extent_from_logical() David Sterba
2024-02-08  8:59 ` [PATCH 04/14] btrfs: handle invalid extent item reference found in find_first_extent_item() David Sterba
2024-02-08  8:59 ` [PATCH 05/14] btrfs: handle invalid root reference found in may_destroy_subvol() David Sterba
2024-02-08  8:59 ` [PATCH 06/14] btrfs: send: handle unexpected data in header buffer in begin_cmd() David Sterba
2024-02-08  8:59 ` [PATCH 07/14] btrfs: send: handle unexpected inode in header process_recorded_refs() David Sterba
2024-02-08  8:59 ` [PATCH 08/14] btrfs: send: handle path ref underflow in header iterate_inode_ref() David Sterba
2024-02-08  8:59 ` [PATCH 09/14] btrfs: change BUG_ON to assertion in tree_move_down() David Sterba
2024-02-08  8:59 ` [PATCH 10/14] btrfs: change BUG_ONs to assertions in btrfs_qgroup_trace_subtree() David Sterba
2024-02-08  9:00 ` [PATCH 11/14] btrfs: delete pointless BUG_ON check on quota root in btrfs_qgroup_account_extent() David Sterba
2024-02-08  9:00 ` [PATCH 12/14] btrfs: delete pointless BUG_ONs on extent item size David Sterba
2024-02-08  9:00 ` [PATCH 13/14] btrfs: handle unexpected parent block offset in btrfs_alloc_tree_block() David Sterba
2024-02-08  9:00 ` [PATCH 14/14] btrfs: delete BUG_ON in btrfs_init_locked_inode() David Sterba
2024-02-08  9:50 ` [PATCH 00/14] More error handling and BUG_ON cleanups Qu Wenruo
2024-02-09  2:03   ` David Sterba
2024-02-13 19:05   ` David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox