btrfs: defrag: enable defrag for subpage case
authorQu Wenruo <wqu@suse.com>
Fri, 6 Aug 2021 08:12:42 +0000 (16:12 +0800)
committerDavid Sterba <dsterba@suse.com>
Tue, 26 Oct 2021 17:07:58 +0000 (19:07 +0200)
commitc22a3572cbaf8c0824fbb221cc7a65fb14428cb9
tree02a58856047def9ab121e048a34ddabb85f2e1d6
parentc635757365c39411bfcc7b1fc624c43848ef1c1d
btrfs: defrag: enable defrag for subpage case

With the new infrastructure which has taken subpage into consideration,
now we should be safe to allow defrag to work for subpage case.

Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ioctl.c