X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fmdd%2Fmdd_device.c;h=e3f888911d7f50de13e9f5f33b2953cad67624ad;hp=28d129c56cf6b01b473694398b4a0164d2b60690;hb=666f6ae30ed7f0c5015f659cd274685a08bd27bc;hpb=2f5709810b90321b9e9cfb84e119d55bd77f20c4;ds=inline diff --git a/lustre/mdd/mdd_device.c b/lustre/mdd/mdd_device.c index 28d129c..e3f8889 100644 --- a/lustre/mdd/mdd_device.c +++ b/lustre/mdd/mdd_device.c @@ -241,7 +241,6 @@ static int mdd_changelog_init(const struct lu_env *env, struct mdd_device *mdd) mdd->mdd_cl.mc_index = 0; cfs_spin_lock_init(&mdd->mdd_cl.mc_lock); - cfs_waitq_init(&mdd->mdd_cl.mc_waitq); mdd->mdd_cl.mc_starttime = cfs_time_current_64(); mdd->mdd_cl.mc_flags = 0; /* off by default */ mdd->mdd_cl.mc_mask = CHANGELOG_DEFMASK; @@ -330,8 +329,6 @@ int mdd_changelog_llog_write(struct mdd_device *mdd, rc = llog_add(ctxt, &rec->cr_hdr, NULL, NULL, 0); llog_ctxt_put(ctxt); - cfs_waitq_signal(&mdd->mdd_cl.mc_waitq); - return rc; }