From: lsy Date: Fri, 9 Jun 2006 02:04:46 +0000 (+0000) Subject: fix for the reply offset, found in sanity.sh 75. X-Git-Tag: v1_7_100~1^90~8^2~141 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=ed29b307ba6900b0ca13b306cdf7ba37541b0d66;p=fs%2Flustre-release.git fix for the reply offset, found in sanity.sh 75. --- diff --git a/lustre/mdc/mdc_request.c b/lustre/mdc/mdc_request.c index bd979ac..f567a53 100644 --- a/lustre/mdc/mdc_request.c +++ b/lustre/mdc/mdc_request.c @@ -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;