summaryrefslogtreecommitdiff
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2023-06-30 18:03:48 +0300
committerDavid Sterba <dsterba@suse.com>2023-08-21 15:52:12 +0300
commit46d81ebd4a521797481ef193397c099eaf97e83f (patch)
tree3b721b58c7baff6d480c73d8515ece7795f2cca5 /fs/btrfs/dev-replace.c
parentaec5716c3e51a34ae8d98d287613b219ba267105 (diff)
downloadlinux-46d81ebd4a521797481ef193397c099eaf97e83f.tar.xz
btrfs: make btrfs_destroy_pinned_extent() return void
Currently btrfs_destroy_pinned_extent() is always returning 0 no matter what and its caller ignores its return value (as well everything up in the call chain). This is because this is called in the transaction abort path, where we can't even deal with any errors since we are in a critical situation already and cleanup of resources is done in a best effort fashion. So make btrfs_destroy_pinned_extent() return void. Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions