X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fmds%2Fmds_lib.c;h=bc0fb6f73fbd905e7bbb0943f3cb0896cc950c23;hb=02be224ce61aa34c95d5c6323027de99d4485e6b;hp=c0f232365579738f0e3e88d2ca72a41513783283;hpb=43f8150e06211409f29d3009451d965682516436;p=fs%2Flustre-release.git diff --git a/lustre/mds/mds_lib.c b/lustre/mds/mds_lib.c index c0f2323..bc0fb6f 100644 --- a/lustre/mds/mds_lib.c +++ b/lustre/mds/mds_lib.c @@ -267,7 +267,6 @@ int mds_pack_gskey(struct obd_device *obd, struct lustre_msg *repmsg, if (size < 0) CERROR("Can not get gskey from MDS ino %lu rc %d\n", inode->i_ino, size); - (*offset) += 2; /* XXX: ignore crypto in case size == 0 */ GOTO(out, rc = size); } if (le32_to_cpu(md_key->md_magic) != MD_KEY_MAGIC) { @@ -607,6 +606,7 @@ static int mds_open_unpack(struct ptlrpc_request *req, int offset, r->ur_rdev = rec->cr_rdev; r->ur_time = rec->cr_time; r->ur_flags = rec->cr_flags; + r->ur_ioepoch = rec->cr_ioepoch; LASSERT_REQSWAB(req, offset + 1); r->ur_name = lustre_msg_string(req->rq_reqmsg, offset + 1, 0);