[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.1207061023350.28821-100000@netrider.rowland.org>
Date: Fri, 6 Jul 2012 10:24:38 -0400 (EDT)
From: Alan Stern <stern@...land.harvard.edu>
To: Lin Ming <ming.m.lin@...el.com>
cc: James Bottomley <JBottomley@...allels.com>,
<linux-scsi@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] [SCSI] scsi_pm: set device runtime state before parent
suspended
On Fri, 6 Jul 2012, Lin Ming wrote:
> There is a race in scsi_bus_resume_common when set device's runtime
> state to active after pm_runtime_put_sync(dev->parent).
>
> Parent device may have been suspended so pm_runtime_set_active(dev) will
> fail with -EBUSY.
>
> Signed-off-by: Lin Ming <ming.m.lin@...el.com>
Acked-by: Alan Stern <stern@...land.harvard.edu>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists