diff options
author | Christoph Hellwig <hch@lst.de> | 2023-01-21 07:50:11 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-02-15 19:38:51 +0100 |
commit | 860c8c451661c72f05713ffdef3707f1fa9184d1 (patch) | |
tree | 0c22d529b6f1e874c46ec62841b9f2d274e1e524 /fs/btrfs/bio.h | |
parent | btrfs: remove now unused checksumming helpers (diff) | |
download | linux-860c8c451661c72f05713ffdef3707f1fa9184d1.tar.xz linux-860c8c451661c72f05713ffdef3707f1fa9184d1.zip |
btrfs: remove struct btrfs_bio::device field
The device field is only used by the simple end I/O handler, and for
that it can simply be stored in the bi_private field of the bio,
which is currently used for the fs_info that can be retrieved through
bbio->inode as well.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/bio.h')
-rw-r--r-- | fs/btrfs/bio.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/bio.h b/fs/btrfs/bio.h index 2e799c3348d5..61a791cf5360 100644 --- a/fs/btrfs/bio.h +++ b/fs/btrfs/bio.h @@ -45,8 +45,6 @@ struct btrfs_bio { struct btrfs_inode *inode; u64 file_offset; - /* @device is for stripe IO submission. */ - struct btrfs_device *device; union { /* For data checksum verification. */ struct { |