diff --git a/fs/dlm/lock.c b/fs/dlm/lock.c index f103b8c30592..e66972ed97b1 100644 --- a/fs/dlm/lock.c +++ b/fs/dlm/lock.c @@ -1385,7 +1385,6 @@ int dlm_master_lookup(struct dlm_ls *ls, int from_nodeid, const char *name, r->res_dir_nodeid = our_nodeid; r->res_master_nodeid = from_nodeid; r->res_nodeid = from_nodeid; - kref_init(&r->res_ref); rsb_set_flag(r, RSB_TOSS); write_lock_bh(&ls->ls_rsbtbl_lock);