66 char *
b, *last_name =
NULL;
69 unsigned int count = 0, count_match = 0, count_bad = 0, count_add = 0;
73 if (dlm_no_directory(ls))
89 error = dlm_recovery_stopped(ls);
112 if (left <
sizeof(
__be16))
124 if (namelen == 0xFFFF)
154 "nodeid %d memb %d bad %u",
155 result, nodeid, memb->
nodeid,
157 print_hex_dump_bytes(
"dlm_recover_dir ",
178 memcpy(last_name, b, namelen);
192 log_debug(ls,
"dlm_recover_directory %u in %u new",
206 hash = jhash(name, len, 0);
214 spin_unlock(&ls->
ls_rsbtbl[bucket].lock);
223 log_debug(ls,
"find_rsb_root revert to root_list %s",
237 char *outbuf,
int outlen,
int nodeid)
241 int offset = 0, dir_nodeid;
247 r = find_rsb_root(ls, inbuf, inlen);
249 inbuf[inlen - 1] =
'\0';
250 log_error(ls,
"copy_master_names from %d start %d %s",
251 nodeid, inlen, inbuf);
265 if (dir_nodeid != nodeid)
299 (offset +
sizeof(
uint16_t) <= outlen)) {