Skip to content
Snippets Groups Projects
Commit eb49f1d3 authored by Andreas Dilger's avatar Andreas Dilger
Browse files

Ensure that the file type is valid.

parent d5c1963a
No related merge requests found
......@@ -134,6 +134,9 @@ static int mds_reint_create(struct mds_update_record *rec,
EXIT;
break;
}
default:
CERROR("bad file type %d for create of %s\n",type,rec->ur_name);
GOTO(out_reint_create, rc = -EINVAL);
}
if (rc) {
......
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