From: Greg KH <greg@kroah.com>
To: Heiko Carstens <Heiko.Carstens@de.ibm.com>
Cc: James Bottomley <James.Bottomley@SteelEye.com>,
SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: Re: [PATCH] zfcp: kfree patch
Date: Tue, 11 Jan 2005 22:47:56 -0800 [thread overview]
Message-ID: <20050112064756.GC1928@kroah.com> (raw)
In-Reply-To: <OF19A85831.9D000076-ONC1256F85.00312F55-C1256F85.0033E6D5@de.ibm.com>
On Mon, Jan 10, 2005 at 10:27:06AM +0100, Heiko Carstens wrote:
> Hmm.. then maybe you could explain to me how e.g.
> drivers/usb/serial/usb-serial.c does this right and keeps the release
> function from being called after usb-serial.ko got unloaded?
usb-serial can not get unloaded if there is a reference held on a sysfs
file owned by it, or if a user has a port open. This is due to the
module reference counting logic in sysfs attributes, and in the module
reference count stuff in the usb-serial core itself.
Unless I'm missing something, and if so, please let me know and I'll go
fix it up.
thanks,
greg k-h
next prev parent reply other threads:[~2005-01-12 6:48 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-08 10:36 [PATCH] zfcp: kfree patch Heiko Carstens
2005-01-08 11:44 ` Arjan van de Ven
2005-01-10 6:41 ` Heiko Carstens
2005-01-10 15:19 ` James Bottomley
2005-01-08 22:33 ` Greg KH
2005-01-10 6:53 ` Heiko Carstens
2005-01-10 7:06 ` Greg KH
2005-01-10 8:10 ` Heiko Carstens
2005-01-10 8:18 ` Greg KH
2005-01-10 9:27 ` Heiko Carstens
2005-01-12 6:47 ` Greg KH [this message]
2005-01-12 8:48 ` Heiko Carstens
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050112064756.GC1928@kroah.com \
--to=greg@kroah.com \
--cc=Heiko.Carstens@de.ibm.com \
--cc=James.Bottomley@SteelEye.com \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox