Commit 3954cd12 authored by Christoph Hellwig's avatar Christoph Hellwig

[PATCH] remove an escaped __MOD_DEC_USE_COUNT

we should be using module_put really, __MOD_DEC_USE_COUNT will die soon
parent f7398bc8
...@@ -287,7 +287,7 @@ int pluto_release(struct Scsi_Host *host) ...@@ -287,7 +287,7 @@ int pluto_release(struct Scsi_Host *host)
struct pluto *pluto = (struct pluto *)host->hostdata; struct pluto *pluto = (struct pluto *)host->hostdata;
fc_channel *fc = pluto->fc; 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); fc->fcp_register(fc, TYPE_SCSI_FCP, 1);
PLND((" releasing pluto.\n")); PLND((" releasing pluto.\n"));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment