On Thu, Feb 09, 2017 at 01:44:25PM +0100, Jan Kara wrote: > Iteration over partitions in del_gendisk() omits part0. Add > bdev_unhash_inode() call for the whole device. Otherwise if the device > number gets reused, bdev inode will be still associated with the old > (stale) bdi. > > Signed-off-by: Jan Kara <jack@xxxxxxx> Acked-by: Tejun Heo <tj@xxxxxxxxxx> Thanks. -- tejun