From 75ddff2a44265af20bd83c52571ff954e6f90038 Mon Sep 17 00:00:00 2001 From: kalpak Date: Thu, 31 Jul 2008 07:50:59 +0000 Subject: [PATCH] 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. --- lustre/include/obd_class.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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); } -- 1.8.3.1