fixed oops on reading from some i2o proc files (i2o_seq_show_driver_store() and
other) because their handlers uses "exec" field in struct i2o_controller

Signed-off-by:  Vasily Averin <[EMAIL PROTECTED]>

--- lk2.6/drivers/message/i2o/exec-osm.c
+++ lk2.6/drivers/message/i2o/exec-osm.c
@@ -339,6 +339,8 @@ static int i2o_exec_probe(struct device
        rc = device_create_file(dev, &dev_attr_product_id);
        if (rc) goto err_vid;

+       i2o_dev->iop->exec = i2o_dev;
+
        return 0;

 err_vid:

_______________________________________________
Devel mailing list
Devel@openvz.org
https://openvz.org/mailman/listinfo/devel

Reply via email to