diff options
| author | 2023-03-07 17:39:42 +0100 | |
|---|---|---|
| committer | 2023-04-17 18:01:17 +0200 | |
| commit | d733ea012db32ea4354c6d89b9538bbe8aa9388e (patch) | |
| tree | 0f0ad0dc312f69a677904401121add4c1c6799a1 /fs/btrfs/compression.c | |
| parent | btrfs: store a pointer to the original btrfs_bio in struct compressed_bio (diff) | |
| download | wireguard-linux-d733ea012db32ea4354c6d89b9538bbe8aa9388e.tar.xz wireguard-linux-d733ea012db32ea4354c6d89b9538bbe8aa9388e.zip | |
btrfs: simplify finding the inode in submit_one_bio
struct btrfs_bio now has an always valid inode pointer that can be used
to find the inode in submit_one_bio, so use that and initialize all
variables for which it is possible at declaration time.
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/compression.c')
0 files changed, 0 insertions, 0 deletions
