summaryrefslogtreecommitdiffstats
path: root/lib/test_printf.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-11-02 19:29:52 +0100
committerJens Axboe <axboe@kernel.dk>2017-11-03 17:31:48 +0100
commit517bf3c306bad4fe0da631f90ae2ec40924dee2b (patch)
treecbe0e6bc91a51781ae4d3ac60af5e7abae54a37b /lib/test_printf.c
parentblock: add a blk_steal_bios helper (diff)
downloadlinux-517bf3c306bad4fe0da631f90ae2ec40924dee2b.tar.xz
linux-517bf3c306bad4fe0da631f90ae2ec40924dee2b.zip
block: don't look at the struct device dev_t in disk_devt
The hidden gendisks introduced in the next patch need to keep the dev field in their struct device empty so that udev won't try to create block device nodes for them. To support that rewrite disk_devt to look at the major and first_minor fields in the gendisk itself instead of looking into the struct device. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/test_printf.c')
0 files changed, 0 insertions, 0 deletions