Re: [PATCH] block: move bd_set_size() above rescan_partitions() in__blkdev_get()
From: Jens Axboe
Date: Mon May 23 2011 - 12:31:41 EST
On 2011-05-23 17:51, Linus Torvalds wrote:
> 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.
OK, added it when Tejun sent it as well, JFYI.
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/