commit | 8446fe9255be821cb38ffd306d7e8edc4b9ea662 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Nov 24 09:36:54 2020 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Dec 01 14:53:40 2020 -0700 |
tree | 7da651adc11c5df03c517255cd6872a92705f150 | |
parent | cb8432d650fe3be58bb962bc8e602dc405510327 [diff] |
block: switch partition lookup to use struct block_device Use struct block_device to lookup partitions on a disk. This removes all usage of struct hd_struct from the I/O path. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jan Kara <jack@suse.cz> Reviewed-by: Hannes Reinecke <hare@suse.de> Acked-by: Coly Li <colyli@suse.de> [bcache] Acked-by: Chao Yu <yuchao0@huawei.com> [f2fs] Signed-off-by: Jens Axboe <axboe@kernel.dk>