]> git.ipfire.org Git - thirdparty/linux.git/commit
btrfs: make btrfs_error_unpin_extent_range() return void
authorDavid Sterba <dsterba@suse.com>
Fri, 12 Jan 2024 18:06:16 +0000 (19:06 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 4 Mar 2024 15:24:46 +0000 (16:24 +0100)
commit91701bdfa2bd97c77597cfa9d189a70265637103
tree21b55d02cc9a01b721bc16601071e8e32b43fea6
parent44a6c3437afc7e6fbea090bf3ab98ef751ad2ede
btrfs: make btrfs_error_unpin_extent_range() return void

This helper is used in transaction abort or cleanup context and the
callers cannot handle all errors, only do best effort.

btrfs_cleanup_one_transaction
  btrfs_destroy_delayed_refs
    btrfs_error_unpin_extent_range
  btrfs_destroy_pinned_extent
    btrfs_error_unpin_extent_range

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/extent-tree.c