[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090218211945.669c3e95@mjolnir.ossman.eu>
Date: Wed, 18 Feb 2009 21:19:45 +0100
From: Pierre Ossman <drzeus-mmc@...eus.cx>
To: Jorg Schummer <ext-jorg.2.schummer@...ia.com>
Cc: linux-kernel@...r.kernel.org,
Jorg Schummer <ext-jorg.2.schummer@...ia.com>
Subject: Re: [PATCH] MMC: core/core.c: fixed: delayed_work was never
cancelled
On Tue, 17 Feb 2009 15:32:10 +0200
Jorg Schummer <ext-jorg.2.schummer@...ia.com> wrote:
> The delayed work item mmc_host.detect is now cancelled before flushing
> the work queue. This takes care of cases when delayed_work was scheduled
> for mmc_host.detect, but not yet placed in the work queue.
>
> Signed-off-by: Jorg Schummer <ext-jorg.2.schummer@...ia.com>
> ---
Do the cancel in the caller instead. The flush routine is supposed to
mimic the global workqueue.
Rgds
--
-- Pierre Ossman
Linux kernel, MMC maintainer http://www.kernel.org
rdesktop, core developer http://www.rdesktop.org
WARNING: This correspondence is being monitored by the
Swedish government. Make sure your server uses encryption
for SMTP traffic and consider using PGP for end-to-end
encryption.
--
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