Whamcloud - gitweb
b=16227
authorkalpak <kalpak>
Thu, 31 Jul 2008 07:51:22 +0000 (07:51 +0000)
committerkalpak <kalpak>
Thu, 31 Jul 2008 07:51:22 +0000 (07:51 +0000)
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/obdfilter/filter.c

index 831305b..29439b5 100644 (file)
@@ -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;