diff options
author | Christoph Hellwig <hch@lst.de> | 2022-05-05 23:11:13 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-05-16 18:17:32 +0300 |
commit | acb8b52a158ae5610a1378f62de5ea061a12be3d (patch) | |
tree | 491bd1a789a76bb87fb73b808cd522146be32c38 /fs/btrfs/inode.c | |
parent | 491a6d01183dee9e95d55098752b5561ef93542e (diff) | |
download | linux-acb8b52a158ae5610a1378f62de5ea061a12be3d.tar.xz |
btrfs: remove the disk_bytenr in struct btrfs_dio_private
This field is never used, so remove it. Last use was probably in
23ea8e5a0767 ("Btrfs: load checksum data once when submitting a direct
read io").
Reviewed-by: Nikolay Borisov <nborisov@suse.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/inode.c')
-rw-r--r-- | fs/btrfs/inode.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 9848a5a0f980..ebed9eb3e567 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -8002,7 +8002,6 @@ static struct btrfs_dio_private *btrfs_create_dio_private(struct bio *dio_bio, dip->inode = inode; dip->file_offset = file_offset; dip->bytes = dio_bio->bi_iter.bi_size; - dip->disk_bytenr = dio_bio->bi_iter.bi_sector << 9; dip->dio_bio = dio_bio; refcount_set(&dip->refs, 1); return dip; |