Re: [PATCH 2/2 v2] Notify when transport is unloaded

2008-04-26 Thread Mike Christie
Erez Zilber wrote: > diff --git a/include/scsi/iscsi_if.h b/include/scsi/iscsi_if.h > index 801a677..027eb96 100644 > --- a/include/scsi/iscsi_if.h > +++ b/include/scsi/iscsi_if.h > @@ -56,9 +56,10 @@ enum iscsi_uevent_e { > ISCSI_KEVENT_RECV_PDU = KEVENT_BASE + 1, > ISCSI_KE

Re: [PATCH 1/2 v2] Release transport entry when the transport is unloaded

2008-04-26 Thread Mike Christie
Erez Zilber wrote: > { > return strcmp(dir->d_name, ".") && strcmp(dir->d_name, ".."); > diff --git a/usr/iscsi_sysfs.h b/usr/iscsi_sysfs.h > index a6163af..0e10b34 100644 > --- a/usr/iscsi_sysfs.h > +++ b/usr/iscsi_sysfs.h > @@ -90,6 +90,7 @@ extern struct iscsi_transport *get_transport_by

Re: [PATCH 2/2 v2] Notify when transport is unloaded

2008-04-26 Thread Mike Christie
Mike Christie wrote: > Erez Zilber wrote: >> diff --git a/include/scsi/iscsi_if.h b/include/scsi/iscsi_if.h >> index 801a677..027eb96 100644 >> --- a/include/scsi/iscsi_if.h >> +++ b/include/scsi/iscsi_if.h >> @@ -56,9 +56,10 @@ enum iscsi_uevent_e { >> ISCSI_KEVENT_RECV_PDU = KEVEN