From: shadow Date: Tue, 28 Jul 2009 06:31:04 +0000 (+0000) Subject: fix buffer number for acl packing. X-Git-Tag: v1_8_2_01~1^2~210 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=fcea63d56e0b06b4b46a16649c12c80be3d7bc81;p=fs%2Flustre-release.git fix buffer number for acl packing. Branch b1_8 b=20020 --- diff --git a/lustre/mds/mds_open.c b/lustre/mds/mds_open.c index 7475396..44f8d7e 100644 --- a/lustre/mds/mds_open.c +++ b/lustre/mds/mds_open.c @@ -836,7 +836,7 @@ static int mds_finish_open(struct ptlrpc_request *req, struct dentry *dchild, if (req->rq_export->exp_connect_flags & OBD_CONNECT_ACL && rec && !(rec->ur_flags & MDS_OPEN_JOIN_FILE)) { - int acl_off = DLM_REPLY_REC_OFF + (body->eadatasize ? 2 : 1); + int acl_off = DLM_REPLY_REC_OFF + 2; rc = mds_pack_acl(&req->rq_export->exp_mds_data, dchild->d_inode, req->rq_repmsg,