From: kalpak Date: Thu, 31 Jul 2008 07:50:56 +0000 (+0000) Subject: b=16227 X-Git-Tag: v1_7_72~1^127~4 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=0680122df26cc393b39c3323777cf746a7f5c727;p=fs%2Flustre-release.git b=16227 i=adilger i=shadow add lsm argument to obd_get_info. For some get_info calls the lsm was being sent as part of the key which was a hack. Now lsm can be sent as an argument. --- diff --git a/lustre/include/obd.h b/lustre/include/obd.h index 94104a6..e72d155 100644 --- a/lustre/include/obd.h +++ b/lustre/include/obd.h @@ -959,7 +959,7 @@ struct obd_ops { int (*o_iocontrol)(unsigned int cmd, struct obd_export *exp, int len, void *karg, void *uarg); int (*o_get_info)(struct obd_export *, __u32 keylen, void *key, - __u32 *vallen, void *val); + __u32 *vallen, void *val, struct lov_stripe_md *lsm); int (*o_set_info_async)(struct obd_export *, __u32 keylen, void *key, __u32 vallen, void *val, struct ptlrpc_request_set *set);