Re: [PATCH] CDRW packet writing support for 2.6.7-bk13

From: Andrew Morton
Date: Sun Jul 04 2004 - 16:00:55 EST


Peter Osterlund <petero2@xxxxxxxxx> wrote:
>
> But anyway, if __bdevname() leaks a module reference it should get
> fixed, right?

Yes. The questions is, where's the bug? Who should be undoing the
module_get() which happened via

__bdevname
->get_gendisk
->kobj_lookup
->ata_probe
->get_disk
->try_module_get

?
-
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/