Module Name: src
Committed By: riz
Date: Mon May 28 03:43:18 UTC 2012
Modified Files:
src/sys/dev/iscsi: iscsi_main.c
Log Message:
Don't allow iscsi to autounload. The default unload timeout is short,
and too much state is lost.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/iscsi/iscsi_main.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/iscsi/iscsi_main.c
diff -u src/sys/dev/iscsi/iscsi_main.c:1.1 src/sys/dev/iscsi/iscsi_main.c:1.2
--- src/sys/dev/iscsi/iscsi_main.c:1.1 Sun Oct 23 21:15:02 2011
+++ src/sys/dev/iscsi/iscsi_main.c Mon May 28 03:43:18 2012
@@ -572,6 +572,10 @@ iscsi_modcmd(modcmd_t cmd, void *arg)
return 0;
break;
+ case MODULE_CMD_AUTOUNLOAD:
+ return EBUSY;
+ break;
+
default:
return ENOTTY;
break;