Whamcloud - gitweb
fix for the reply offset, found in sanity.sh 75.
authorlsy <lsy>
Fri, 9 Jun 2006 02:04:46 +0000 (02:04 +0000)
committerlsy <lsy>
Fri, 9 Jun 2006 02:04:46 +0000 (02:04 +0000)
lustre/mdc/mdc_request.c

index bd979ac..f567a53 100644 (file)
@@ -269,7 +269,7 @@ int mdc_xattr_common(struct obd_export *exp, struct ll_fid *fid,
 
         /* reply buffers */
         if (opcode == MDS_GETXATTR) {
-                size[0] = sizeof(struct mds_body);
+                size[REPLY_REC_OFF] = sizeof(struct mds_body);
                 bufcnt = 2;
         } else {
                 bufcnt = 1;