]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: move transaction aborts to the error site in convert_free_space_to_extents()
authorDavid Sterba <dsterba@suse.com>
Wed, 30 Apr 2025 16:45:19 +0000 (18:45 +0200)
committerDavid Sterba <dsterba@suse.com>
Thu, 15 May 2025 12:30:54 +0000 (14:30 +0200)
commitaddaa67e3328403c272593c6776bbe90425f01d7
tree6c8bcc85308668e8b78efe4c4cc8223321ac4baf
parent14338d46614d151a1789f370ca1a77831017f9f2
btrfs: move transaction aborts to the error site in convert_free_space_to_extents()

Transaction aborts should be done next to the place the error happens,
which was not done in convert_free_space_to_extents().  The DEBUG_WARN()
is removed because we get the abort message.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/free-space-tree.c