commit | 75ab6afacda01a6bd2d3ecd4cb8485f7c8fa2fdb | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Feb 23 15:41:25 2021 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Feb 23 15:41:25 2021 -0700 |
tree | 3607303c658f1f1f1a527187e192a3bc2714faa9 | |
parent | c0ea57608b691d6cde8aff23e11f9858a86b5918 [diff] |
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: 99dfc43ecbf6 ("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>