From: kalpak Date: Thu, 31 Jul 2008 07:50:59 +0000 (+0000) Subject: b=16227 X-Git-Tag: v1_7_72~1^114~3 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=75ddff2a44265af20bd83c52571ff954e6f90038;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_class.h b/lustre/include/obd_class.h index 9c37b03..351c140 100644 --- a/lustre/include/obd_class.h +++ b/lustre/include/obd_class.h @@ -332,7 +332,8 @@ static inline int class_devno_max(void) } static inline int obd_get_info(struct obd_export *exp, __u32 keylen, - void *key, __u32 *vallen, void *val) + void *key, __u32 *vallen, void *val, + struct lov_stripe_md *lsm) { int rc; ENTRY; @@ -340,7 +341,7 @@ static inline int obd_get_info(struct obd_export *exp, __u32 keylen, EXP_CHECK_OP(exp, get_info); EXP_COUNTER_INCREMENT(exp, get_info); - rc = OBP(exp->exp_obd, get_info)(exp, keylen, key, vallen, val); + rc = OBP(exp->exp_obd, get_info)(exp, keylen, key, vallen, val, lsm); RETURN(rc); }