From: kalpak Date: Thu, 31 Jul 2008 07:51:22 +0000 (+0000) Subject: b=16227 X-Git-Tag: v1_7_72~1^67~2 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=0887a8f03bd146c1ac9b49ea14f1a5eaff7604b9;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/obdfilter/filter.c b/lustre/obdfilter/filter.c index 831305b..29439b5 100644 --- a/lustre/obdfilter/filter.c +++ b/lustre/obdfilter/filter.c @@ -3613,7 +3613,8 @@ static int filter_sync(struct obd_export *exp, struct obdo *oa, } static int filter_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) { struct obd_device *obd; ENTRY;