Thread (28 messages) 28 messages, 4 authors, 2017-02-20

Re: [PATCH 02/10] block: Unhash also block device inode for the whole device

From: Tejun Heo <tj@kernel.org>
Date: 2017-02-12 04:16:36

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@suse.cz>
Acked-by: Tejun Heo <tj@kernel.org>

Thanks.

-- 
tejun
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help