/* This function returns compatibility flags for an internal volume. User volumes have no compatibility flags, so %0 is returned.  */
static int ubi_get_compat(const struct ubi_device *ubi, int vol_id)
/* This function returns compatibility flags for an internal volume. User volumes have no compatibility flags, so %0 is returned.  */
static int ubi_get_compat(const struct ubi_device *ubi, int vol_id)
{
	if (vol_id == UBI_LAYOUT_VOLUME_ID)
		return UBI_LAYOUT_VOLUME_COMPAT;
	return 0;
}