提交 842fb6cd 编写于 作者: R Roberto Sassu

Don't ignore -ENOENT error in calc_metadata_digest()

上级 c880690f
......@@ -87,9 +87,6 @@ int calc_metadata_digest(int fd, struct list_head *head, u16 type,
obj_label, ima_xattr_len, ima_xattr,
rawvfscap_len, (u8 *)&rawvfscap,
uid, gid, mode);
if (ret == -ENOENT)
ret = 0;
free(caps_bin);
return ret;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册