Whamcloud - gitweb
* Added a file handling snapshot tables
[fs/lustre-release.git] / lustre / include / linux / obd_class.h
index 640f691..73acad6 100644 (file)
@@ -95,6 +95,7 @@ struct obd_ops {
        int  (*o_set_info)(struct obd_conn *, int keylen, void *key, int vallen, void *val);
        int (*o_migrate)(struct obd_conn *, obdattr *src, obdattr *dst);
        int (*o_copy)(struct obd_conn *dev, obdattr *source, obdattr *target);
+       int (*o_iocontrol)(int cmd, int len, void *karg, void *uarg);
 
 };
 
@@ -133,7 +134,7 @@ int gen_copy_data(struct obd_conn *, obdattr *source, obdattr *target);
 /*
  * ioctl commands
  */
-struct oic_attach {
+struct oic_generic {
        int  att_typelen;
        void *att_type;
        int  att_datalen;