Re: [PATCH] s390 (8/10): zfcp fixes

From: Heiko Carstens
Date: Wed Mar 31 2004 - 13:01:20 EST

Hi Greg,

>> I'll ask because the zfcp patches are still pending and I want to get this
>> issue resolved before the next try to get them integrated.
>I think you need to talk to the scsi people, as kfree() should _never_
>need to be set as the release function. There's something just wrong
>with the design if that is necessary.

Actually this issue is not SCSI related, but a generic problem that one
can run into when fiddling around with modules / module unloading.

This was already discussed elsewhere. Please have a look here:
(paragraph "Module unloading in a reference counted world")

and here for the whole thread:
(just saw that you participated there :)

I would be more than happy to have a nice release function for the zfcp
generated objects, but I don't think this is currently possible without
having the potential problem to run into an Oops after module unloading.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at