]> git.baikalelectronics.ru Git - kernel.git/commit
block: don't skip empty device in in disk_uevent
authorChristoph Hellwig <hch@lst.de>
Tue, 23 Feb 2021 22:41:25 +0000 (15:41 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 23 Feb 2021 22:41:25 +0000 (15:41 -0700)
commitdba20dbf6505705c3bf0aa4800a3ce0958ab183d
tree3607303c658f1f1f1a527187e192a3bc2714faa9
parent54956936fede84872766b74aac803010f7bbe49f
block: don't skip empty device in in disk_uevent

Restore the previous behavior by using the correct flag for the whole device
("part0").

Fixes: 733a9f5c8889 ("block: use ->bi_bdev for bio based I/O accounting")
Reported-by: John Stultz <john.stultz@linaro.org>
Tested-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/genhd.c