]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: defrag: use btrfs_mod_outstanding_extents in cluster_pages_for_defrag
authorSu Yue <suy.fnst@cn.fujitsu.com>
Wed, 5 Sep 2018 03:07:33 +0000 (11:07 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 15 Oct 2018 15:23:28 +0000 (17:23 +0200)
commit7e46d41d47dfa17d171c3100df32b95808481123
tree602cf72738c2294218f1cbf685bdd5c51d28fbf5
parent8410b0c6b144e6413632b8b6d6d7b207fba78dcd
btrfs: defrag: use btrfs_mod_outstanding_extents in cluster_pages_for_defrag

Since commit aebd62d207dd ("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: aebd62d207dd ("Btrfs: rework outstanding_extents")
Signed-off-by: Su Yue <suy.fnst@cn.fujitsu.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ioctl.c