The patch titled
i2o: destroy event queue only when drv->event is set
has been removed from the -mm tree. Its filename was
i2o-destroy-event-queue-only-when-drv-event-is-set.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
Subject: i2o: destroy event queue only when drv->event is set
From: Akinobu Mita <[EMAIL PROTECTED]>
i2o_driver_register() initalizes event queue for driver only when
drv->event is set. So similarly the event queue should be destroyed only
when drv->event is set in the error path. Otherwise destroy_workqueue()
will called with NULL.
Cc: Markus Lidel <[EMAIL PROTECTED]>
Signed-off-by: Akinobu Mita <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
drivers/message/i2o/driver.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff -puN
drivers/message/i2o/driver.c~i2o-destroy-event-queue-only-when-drv-event-is-set
drivers/message/i2o/driver.c
---
a/drivers/message/i2o/driver.c~i2o-destroy-event-queue-only-when-drv-event-is-set
+++ a/drivers/message/i2o/driver.c
@@ -123,8 +123,12 @@ int i2o_driver_register(struct i2o_drive
}
rc = driver_register(&drv->driver);
- if (rc)
- destroy_workqueue(drv->event_queue);
+ if (rc) {
+ if (drv->event) {
+ destroy_workqueue(drv->event_queue);
+ drv->event_queue = NULL;
+ }
+ }
return rc;
};
_
Patches currently in -mm which might be from [EMAIL PROTECTED] are
git-dvb.patch
auth_gss-unregister-gss_domain-when-unloading-module.patch
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html