X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;ds=sidebyside;f=lustre%2Finclude%2Flustre_log.h;h=e5f5cad0c19b8d58bd2ebfb4090b0f53dd773f0b;hb=f2bedfe6e389eccf931f339cd8efe93f72ed530c;hp=ad6e6cad80bb09092d3455dad25adc16a1f465f9;hpb=033480704626652b36490a50a6359e74c1490690;p=fs%2Flustre-release.git diff --git a/lustre/include/lustre_log.h b/lustre/include/lustre_log.h index ad6e6ca..e5f5cad 100644 --- a/lustre/include/lustre_log.h +++ b/lustre/include/lustre_log.h @@ -382,6 +382,7 @@ static inline void llog_gen_init(struct llog_ctxt *ctxt) ctxt->loc_gen.mnt_cnt = obd->u.filter.fo_mount_count; else ctxt->loc_gen.mnt_cnt = 0; + ctxt->loc_gen.conn_cnt++; } static inline int llog_gen_lt(struct llog_gen a, struct llog_gen b) @@ -393,7 +394,6 @@ static inline int llog_gen_lt(struct llog_gen a, struct llog_gen b) return(a.conn_cnt < b.conn_cnt ? 1 : 0); } -#define LLOG_GEN_INC(gen) ((gen).conn_cnt ++) #define LLOG_PROC_BREAK 0x0001 #define LLOG_DEL_RECORD 0x0002