]> err.no Git - linux-2.6/commit
[PATCH] fix bd_claim_by_kobject error handling
authorJun'ichi Nomura <j-nomura@ce.jp.nec.com>
Mon, 30 Oct 2006 21:23:45 +0000 (16:23 -0500)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 31 Oct 2006 03:29:41 +0000 (19:29 -0800)
commitbcb55165d3d1ae3ec95807d118fd6d5956cd127b
tree9079f23a4893724a720c3dd0ce3051d476dff43e
parenta7aacdf9ea45bf6139cfd750e558a3dcbc6f16c3
[PATCH] fix bd_claim_by_kobject error handling

This fixes bd_claim_by_kobject to release bdev correctly in case that
bd_claim succeeds but following add_bd_holder fails.

Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/block_dev.c