public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] remove an escaped __MOD_DEC_USE_COUNT
@ 2003-02-20 19:48 Christoph Hellwig
  0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2003-02-20 19:48 UTC (permalink / raw)
  To: James.Bottomley; +Cc: linux-scsi

we should be using module_put really, __MOD_DEC_USE_COUNT will die soon

--- 1.9/drivers/scsi/pluto.c	Tue Feb  4 12:55:10 2003
+++ edited/drivers/scsi/pluto.c	Thu Feb 20 19:26:15 2003
@@ -287,7 +287,7 @@
 	struct pluto *pluto = (struct pluto *)host->hostdata;
 	fc_channel *fc = pluto->fc;
 
-	if (fc->module) __MOD_DEC_USE_COUNT(fc->module);
+	module_put(fc->module);
 	
 	fc->fcp_register(fc, TYPE_SCSI_FCP, 1);
 	PLND((" releasing pluto.\n"));

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-02-20 19:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-20 19:48 [PATCH] remove an escaped __MOD_DEC_USE_COUNT Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox