Skip to content
Snippets Groups Projects
Commit e1fbde13 authored by Nathan Rutman's avatar Nathan Rutman
Browse files

b=17933

CMD seems to add an unnamed link
parent 235e12a0
No related branches found
No related tags found
No related merge requests found
......@@ -2271,6 +2271,9 @@ static int __mdd_links_add(const struct lu_env *env, struct lu_buf *buf,
struct link_ea_entry *lee;
int reclen;
if (lname == NULL || pfid == NULL)
return -EINVAL;
/* Make sure our buf is big enough for the new one */
leh = buf->lb_buf;
reclen = lname->ln_namelen + sizeof(struct link_ea_entry);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment