diff options
author | Christoph Hellwig <hch@lst.de> | 2021-08-16 15:19:04 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-08-23 12:54:30 -0600 |
commit | aebbb5831fbd5352fd9bd2c858bc249026d3c652 (patch) | |
tree | b346aaea87152271e5686f7ca40176bff6dc476f /block/genhd.c | |
parent | 45938335d0a9773d65a82a7ca722bb76e4b997a8 (diff) | |
download | linux-aebbb5831fbd5352fd9bd2c858bc249026d3c652.tar.gz linux-aebbb5831fbd5352fd9bd2c858bc249026d3c652.tar.bz2 linux-aebbb5831fbd5352fd9bd2c858bc249026d3c652.zip |
sg: do not allocate a gendisk
sg is a character driver and thus does not need to allocate a gendisk,
which is only used for file system-like block layer I/O on block
devices.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>
Link: https://lore.kernel.org/r/20210816131910.615153-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/genhd.c')
0 files changed, 0 insertions, 0 deletions