]> www.infradead.org Git - users/dwmw2/linux.git/commit
btrfs: add and use helper to remove extent map from its inode's tree
authorFilipe Manana <fdmanana@suse.com>
Fri, 6 Sep 2024 15:00:43 +0000 (16:00 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 11 Nov 2024 13:34:17 +0000 (14:34 +0100)
commit03ba05058365973a955e1641da908696545703dd
treeb9e68d6e26375bcb4113d7960caf4099ee1688be
parent99785998ed1cea142e20f4904ced26537a37bf74
btrfs: add and use helper to remove extent map from its inode's tree

Move the common code to remove an extent map from its inode's tree into a
helper function and use it, reducing duplicated code.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_map.c