Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/iscsi Don't allow iscsi to autounload. The default ...



details:   https://anonhg.NetBSD.org/src/rev/5ab9c69517e7
branches:  trunk
changeset: 779439:5ab9c69517e7
user:      riz <riz%NetBSD.org@localhost>
date:      Mon May 28 03:43:18 2012 +0000

description:
Don't allow iscsi to autounload.  The default unload timeout is short,
and too much state is lost.

diffstat:

 sys/dev/iscsi/iscsi_main.c |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r ced5a8426f31 -r 5ab9c69517e7 sys/dev/iscsi/iscsi_main.c
--- a/sys/dev/iscsi/iscsi_main.c        Mon May 28 02:13:32 2012 +0000
+++ b/sys/dev/iscsi/iscsi_main.c        Mon May 28 03:43:18 2012 +0000
@@ -572,6 +572,10 @@
                return 0;
                break;
 
+       case MODULE_CMD_AUTOUNLOAD:
+               return EBUSY;
+               break;
+
        default:
                return ENOTTY;
                break;



Home | Main Index | Thread Index | Old Index