X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;ds=sidebyside;f=lustre%2Fptlrpc%2Fllog_client.c;h=d34e5e202df141a81581c7f5ecb8100321691b63;hb=ff17cc7e0282d9b1522810e0c5d12171c4d46a2d;hp=8accba67d72d4a5d1589781842e71f88604334c1;hpb=93d22db85666a137dae01035742ce47dcc67c442;p=fs%2Flustre-release.git diff --git a/lustre/ptlrpc/llog_client.c b/lustre/ptlrpc/llog_client.c index 8accba6..d34e5e2 100644 --- a/lustre/ptlrpc/llog_client.c +++ b/lustre/ptlrpc/llog_client.c @@ -194,7 +194,7 @@ static int llog_client_read_header(struct llog_handle *handle) GOTO(out, rc =-EFAULT); } memcpy(handle->lgh_hdr, hdr, sizeof (*hdr)); - handle->lgh_last_idx = le32_to_cpu(handle->lgh_hdr->llh_tail.lrt_index); + handle->lgh_last_idx = handle->lgh_hdr->llh_tail.lrt_index; out: if (req)