Jan Kara
d06e05c026
block: Unhash also block device inode for the whole device
...
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.
Tested-by: Lekshmi Pillai <lekshmicpillai@in.ibm.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@fb.com>
2017-02-21 12:51:54 -07:00
..
2017-01-17 09:02:31 -07:00
2016-10-21 15:45:47 -06:00
2016-10-28 08:45:17 -06:00
2017-02-17 14:08:19 -07:00
2017-02-03 07:52:35 -07:00
2017-02-17 14:08:19 -07:00
2017-01-31 14:00:34 -07:00
2017-02-17 12:35:47 -07:00
2017-02-02 08:20:48 -07:00
2017-02-10 11:34:47 -07:00
2017-02-06 09:34:46 -07:00
2017-01-31 14:00:44 -07:00
2017-02-08 13:43:08 -07:00
2016-11-08 17:30:00 -05:00
2017-02-02 10:20:16 -07:00
2016-09-19 08:21:51 -06:00
2017-02-17 12:35:47 -07:00
2017-02-10 09:09:59 -07:00
2017-02-02 10:20:16 -07:00
2017-01-27 09:03:14 -07:00
2017-01-27 08:17:44 -07:00
2017-02-17 14:08:19 -07:00
2017-02-02 10:20:16 -07:00
2017-02-08 13:43:08 -07:00
2016-10-15 10:03:15 -07:00
2016-12-09 13:08:35 -07:00
2016-11-10 13:53:26 -07:00
2017-02-15 08:40:04 -07:00
2017-01-17 10:04:20 -07:00
2017-01-23 08:32:15 -07:00
2015-12-22 09:38:34 -07:00
2017-02-02 08:20:48 -07:00
2016-11-28 10:27:03 -07:00
2017-01-12 07:58:32 -07:00
2017-02-08 13:43:08 -07:00
2015-09-19 18:57:09 -07:00
2017-01-27 15:08:35 -07:00
2017-01-31 14:00:44 -07:00
2017-02-21 10:57:33 -08:00
2014-01-21 20:18:26 -08:00
2017-02-02 08:21:32 -07:00
2017-02-08 13:43:06 -07:00
2017-02-17 14:08:19 -07:00
2017-02-21 12:51:54 -07:00
2017-02-02 08:21:32 -07:00
2016-07-01 08:39:24 -06:00
2017-02-17 14:08:19 -07:00
2017-01-17 10:04:31 -07:00
2017-02-17 14:08:19 -07:00
2017-02-08 13:43:06 -07:00
2017-01-17 10:03:33 -07:00
2017-02-17 12:41:47 -07:00
2017-01-12 07:58:32 -07:00
2017-01-31 14:00:44 -07:00
2017-02-17 12:41:47 -07:00
2015-10-21 14:42:38 -06:00