From 8144de749b0df02be2b054e246e64d5c5a22ea61 Mon Sep 17 00:00:00 2001 From: kalpak Date: Thu, 31 Jul 2008 07:51:16 +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/mdc/mdc_request.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/mdc/mdc_request.c b/lustre/mdc/mdc_request.c index 04e686d..5f4356c 100644 --- a/lustre/mdc/mdc_request.c +++ b/lustre/mdc/mdc_request.c @@ -1040,7 +1040,7 @@ int mdc_set_info_async(struct obd_export *exp, obd_count keylen, } int mdc_get_info(struct obd_export *exp, __u32 keylen, void *key, - __u32 *vallen, void *val) + __u32 *vallen, void *val, struct lov_stripe_md *lsm) { int rc = -EINVAL; @@ -1342,7 +1342,7 @@ int mdc_init_ea_size(struct obd_export *mdc_exp, struct obd_export *lov_exp) ENTRY; rc = obd_get_info(lov_exp, sizeof(KEY_LOVDESC), KEY_LOVDESC, - &valsize, &desc); + &valsize, &desc, NULL); if (rc) RETURN(rc); -- 1.8.3.1