X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Futils%2Fllog_reader.c;h=748be6c95739723a24d1aaacffe29be642303203;hb=3a95036038c277873172a3b75824210ec5af17ba;hp=101484c26eedc36e94e9cfffb4299dceab48ef82;hpb=e3a7c58aebafce40323db54bf6056029e5af4a70;p=fs%2Flustre-release.git diff --git a/lustre/utils/llog_reader.c b/lustre/utils/llog_reader.c index 101484c..748be6c 100644 --- a/lustre/utils/llog_reader.c +++ b/lustre/utils/llog_reader.c @@ -27,7 +27,7 @@ * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. * - * Copyright (c) 2011, Whamcloud, Inc. + * Copyright (c) 2011, 2012, Intel Corporation. */ /* * This file is part of Lustre, http://www.lustre.org/ @@ -172,7 +172,7 @@ int llog_pack_buffer(int fd, struct llog_log_hdr **llog, cur_rec->lrh_type, cur_rec->lrh_len); } else { printf("Bit %d of %d not set\n", idx, recs_num); - cur_rec->lrh_padding = CANCELLED; + cur_rec->lrh_id = CANCELLED; /* The header counts only set records */ i--; } @@ -466,7 +466,7 @@ void print_records(struct llog_rec_hdr **recs, int rec_number) lopt = le32_to_cpu(recs[i]->lrh_type); - if (recs[i]->lrh_padding == CANCELLED) + if (recs[i]->lrh_id == CANCELLED) printf("NOT SET "); if (lopt == OBD_CFG_REC) {