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

From: Andrew Morton
Date: Fri Jul 02 2004 - 18:50:14 EST


Peter Osterlund <petero2@xxxxxxxxx> wrote:
>
> > Oop, sorry, yes. Peter, are you sure this is where the leak is coming from?
>
> I'm sure that the module reference count as reported by lsmod
> increases each time I access /proc/driver/pktcdvd/pktcdvd0. I can make
> this problem go away either by patching __bdevname() or by deleting
> the call to __bdevname() in pktcdvd.c.

Can't you use bdevname(pd->bdev) in there?
-
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/