summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/bio.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-01-21 07:50:11 +0100
committerDavid Sterba <dsterba@suse.com>2023-02-15 19:38:51 +0100
commit860c8c451661c72f05713ffdef3707f1fa9184d1 (patch)
tree0c22d529b6f1e874c46ec62841b9f2d274e1e524 /fs/btrfs/bio.h
parentbtrfs: remove now unused checksumming helpers (diff)
downloadlinux-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.h2
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 {