Re: [PATCH] block: move bd_set_size() above rescan_partitions() in __blkdev_get()
From: Linus Torvalds
Date: Mon May 23 2011 - 11:52:02 EST
On Mon, May 23, 2011 at 4:24 AM, Tejun Heo <tj@xxxxxxxxxx> wrote:
>
> 02e352287a4 (block: rescan partitions on invalidated devices on
> -ENOMEDIA too) relocated partition rescan above explicit bd_set_size()
> to simplify condition check. As rescan_partitions() does its own bdev
> size setting, this doesn't break anything; however,
> rescan_partitions() prints out the following messages when adjusting
> bdev size, which can be confusing.
Applied,
Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/