Skip to content
Commit 28c4a3e2 authored by Su Yue's avatar Su Yue Committed by David Sterba
Browse files

btrfs: defrag: use btrfs_mod_outstanding_extents in cluster_pages_for_defrag



Since commit 8b62f87b ("Btrfs: rework outstanding_extents"),
manual operations of outstanding_extent in btrfs_inode are replaced by
btrfs_mod_outstanding_extents().
The one in cluster_pages_for_defrag seems to be lost, so replace it
of btrfs_mod_outstanding_extents().

Fixes: 8b62f87b ("Btrfs: rework outstanding_extents")
Signed-off-by: default avatarSu Yue <suy.fnst@cn.fujitsu.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 6aadd9eb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment