Re: [PATCH] mmc: prevent dangling block device from accessingstale queues

From: Matt Fleming
Date: Thu Jun 04 2009 - 15:15:27 EST


On Thu, Jun 04, 2009 at 09:00:42PM +0200, Stefan Bader wrote:
>
> Hm, not sure this is what you wanted to know... On the launchpad report
> there are logs which I took with lots of printk's enabled. This shows that
> after resume the queue receives a request from mmcblk0 (which no longer
> exists) but uses the same pointer as mmcblk1 which was just created.
>

Maybe I'm missing something, but why is the device instance being
destroyed during a suspend? E.g why do you have mmcblk0 before suspend and
mmcblk1 after suspend?
--
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/