Re: [PATCH] wait while adding MMC host to ensure root mounts

From: Sergey Yanovich
Date: Thu Mar 14 2013 - 06:34:03 EST


On 14/03/13 06:47, Greg Kroah-Hartman wrote:
On Thu, Mar 14, 2013 at 05:06:23AM +0400, Sergey Yanovich wrote:
/* wait for the known devices to complete their probing */
-
wait_event(probe_waitqueue, atomic_read(&probe_count) == 0);

You didn't need to change this file, please don't.

Got the point.

mmc_detect_change(host, 0);
+ mmc_flush_scheduled_work();

If this is the only fix, then you don't need to change it from being
static or need to export it.

Please be more careful when making kernel patches.

I will. I apologize for spamming.
--
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/