Skip to content
Snippets Groups Projects
Commit 75ab6afa authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe
Browse files

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: 99dfc43e ("block: use ->bi_bdev for bio based I/O accounting")
Reported-by: default avatarJohn Stultz <john.stultz@linaro.org>
Tested-by: default avatarJohn Stultz <john.stultz@linaro.org>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent c0ea5760
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment