X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fobdclass%2Fgenops.c;h=dfdc237827207862ac901c0fdd7fdd70da8593e9;hp=18818afaeeddee4bded4331570f84c61cac4f77b;hb=3b613a442b8698596096b23ce82e157c158a5874;hpb=ca09fda138b6d72588f40e4cf79c5f2de832d2dd diff --git a/lustre/obdclass/genops.c b/lustre/obdclass/genops.c index 18818af..dfdc237 100644 --- a/lustre/obdclass/genops.c +++ b/lustre/obdclass/genops.c @@ -1272,6 +1272,7 @@ struct obd_import *class_new_import(struct obd_device *obd) atomic_set(&imp->imp_reqs, 0); atomic_set(&imp->imp_inflight, 0); atomic_set(&imp->imp_replay_inflight, 0); + init_waitqueue_head(&imp->imp_replay_waitq); atomic_set(&imp->imp_inval_count, 0); INIT_LIST_HEAD(&imp->imp_conn_list); init_imp_at(&imp->imp_at);