[<prev] [next>] [day] [month] [year] [list]
Message-ID: <45466D61.5070701@ce.jp.nec.com>
Date: Mon, 30 Oct 2006 16:23:45 -0500
From: "Jun'ichi Nomura" <j-nomura@...jp.nec.com>
To: torvalds@...l.org, akpm@...l.org, rdunlap@...otime.net,
mst@...lanox.co.il, linux-kernel@...r.kernel.org
CC: bunk@...sta.de, pavel@...e.cz, len.brown@...el.com,
linux-acpi@...r.kernel.org, linux-pm@...l.org, martin@...enz.eu.org
Subject: [PATCH 2.6.19-rc3] (1/2) fix bd_claim_by_kobject error handling
Hi,
Excuse me for the long Cc list.
I kept people in the thread below in Cc.
http://marc.theaimsgroup.com/?l=linux-kernel&m=116221664710826&w=2
The patch below fixes bd_claim_by_kobject to release bdev correctly
in case that bd_claim succeeds but following add_bd_holder fails.
If it happens, the caller takes it didn't bd_claim() where actually
it did. The bdev becomes no longer bd_claim-able from others.
I don't have any reproducible test case for it but it's a bug.
The bug is introduced in 2.6.18-rc1-mm2 and now in 2.6.19-rc3.
Please consider to apply.
Thanks,
--
Jun'ichi Nomura, NEC Corporation of America
View attachment "fix-bd_claim_by_kobject-error-handling.patch" of type "text/x-patch" (733 bytes)
Powered by blists - more mailing lists