diff options
author | David Sterba <dsterba@suse.com> | 2022-01-31 18:57:43 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-07-11 15:33:28 +0200 |
commit | a1f4e3d7bd3bfa01d8b4be9b55c2af180f733ff1 (patch) | |
tree | 1409ab83ff70d7c0437a9f39557a03f1e5a38007 /fs/btrfs/compression.c | |
parent | c154a8446bb75d541a23d040bbfcb8664328d972 (diff) | |
download | lwn-a1f4e3d7bd3bfa01d8b4be9b55c2af180f733ff1.tar.gz lwn-a1f4e3d7bd3bfa01d8b4be9b55c2af180f733ff1.zip |
btrfs: switch btrfs_ordered_extent::inode to struct btrfs_inode
The structure is internal so we should use struct btrfs_inode for that,
allowing to remove some use of BTRFS_I.
Reviewed-by: Boris Burkov <boris@bur.io>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/compression.c')
-rw-r--r-- | fs/btrfs/compression.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/compression.c b/fs/btrfs/compression.c index 07b31d1c0926..de136ef3a2f8 100644 --- a/fs/btrfs/compression.c +++ b/fs/btrfs/compression.c @@ -374,7 +374,7 @@ void btrfs_submit_compressed_write(struct btrfs_ordered_extent *ordered, blk_opf_t write_flags, bool writeback) { - struct btrfs_inode *inode = BTRFS_I(ordered->inode); + struct btrfs_inode *inode = ordered->inode; struct btrfs_fs_info *fs_info = inode->root->fs_info; struct compressed_bio *cb; |