Christoph Hellwig 78e3437450 block: call bio_associate_blkg from bio_reset
Call bio_associate_blkg just like bio_set_dev did in the callers before
the conversion to set the block device in bio_reset.

Fixes: a7c50c940477 ("block: pass a block_device and opf to bio_reset")
Reported-by: syzbot+2b3f18414c37b42dcc94@syzkaller.appspotmail.com
Tested-by: syzbot+2b3f18414c37b42dcc94@syzkaller.appspotmail.com
Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20220204071934.168469-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2022-02-04 06:32:43 -07:00
..
2022-02-02 07:49:59 -07:00
2021-11-29 06:41:29 -07:00
2021-08-18 07:21:12 -06:00
2022-02-02 07:49:59 -07:00
2021-12-06 13:18:47 -07:00
2020-03-17 20:55:21 +01:00
2022-01-17 07:24:45 -07:00
2021-09-14 00:22:15 -04:00
2022-02-02 07:49:59 -07:00
2021-10-18 06:17:01 -06:00
2022-02-02 07:49:59 -07:00
2022-02-02 07:49:59 -07:00
2022-01-12 10:26:52 -08:00
2021-11-29 06:34:50 -07:00
2022-02-02 07:49:59 -07:00