From ed29b307ba6900b0ca13b306cdf7ba37541b0d66 Mon Sep 17 00:00:00 2001 From: lsy Date: Fri, 9 Jun 2006 02:04:46 +0000 Subject: [PATCH] fix for the reply offset, found in sanity.sh 75. --- lustre/mdc/mdc_request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 1.8.3.1