X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Finclude%2Flinux%2Fobd_class.h;h=4dec56211f10a2e518a2530f1e250e2781525295;hp=73acad66467a6898302e48e486f6753b766e8773;hb=5bf6eb994ec6136b5fe64446d6bf673e4c3e7cbd;hpb=8690bd7639c7878861b04d8606609ac239c2cb76 diff --git a/lustre/include/linux/obd_class.h b/lustre/include/linux/obd_class.h index 73acad6..4dec562 100644 --- a/lustre/include/linux/obd_class.h +++ b/lustre/include/linux/obd_class.h @@ -95,7 +95,8 @@ 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); + int (*o_iocontrol)(int cmd, struct obd_conn *, int len, void *karg, void *uarg); + int (*o_iterate)(struct obd_conn *, objid, int (*)(objid, void *), void *); }; @@ -135,6 +136,7 @@ int gen_copy_data(struct obd_conn *, obdattr *source, obdattr *target); * ioctl commands */ struct oic_generic { + int att_connid; int att_typelen; void *att_type; int att_datalen;