OSDN Git Service

btrfs: use btrfs_inode inside compress_file_range
authorDavid Sterba <dsterba@suse.com>
Fri, 28 Oct 2022 01:47:16 +0000 (03:47 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 5 Dec 2022 17:00:55 +0000 (18:00 +0100)
commit99a01bd6388e52dabb56015b939c1e9b26b0196e
treed02584d71e5060fa7efd73353b29c5acb26dfd7e
parent99a81a444448ef6cde906500dbdf26aa5961e291
btrfs: use btrfs_inode inside compress_file_range

The function is mostly using internal interfaces so we should use the
btrfs_inode.

Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c