/* If the major numbers are different, they are incompatible. If the current minor is greater than the request, they are incompatible. If the current minor is less than or equal to the request, they are compatible, and the requester should run at the current minor version.  */
static int fs_protocol_compare(struct ocfs2_protocol_version *existing, struct ocfs2_protocol_version *request)
/* If the major numbers are different, they are incompatible. If the current minor is greater than the request, they are incompatible. If the current minor is less than or equal to the request, they are compatible, and the requester should run at the current minor version.  */
static int fs_protocol_compare(struct ocfs2_protocol_version *existing, struct ocfs2_protocol_version *request)
{
	if (existing->pv_major != request->pv_major)
		return 1;
	if (existing->pv_minor > request->pv_minor)
		return 1;
	if (existing->pv_minor < request->pv_minor)
		request->pv_minor = existing->pv_minor;
	return 0;
}