commit | aebbb5831fbd5352fd9bd2c858bc249026d3c652 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon Aug 16 15:19:04 2021 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Aug 23 12:54:30 2021 -0600 |
tree | b346aaea87152271e5686f7ca40176bff6dc476f | |
parent | 45938335d0a9773d65a82a7ca722bb76e4b997a8 [diff] |
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>