/* @desc: block device descriptor @part: partition number Return: 1 if a file system exists on the partition 0 otherwise  */
static int efi_fs_exists(struct blk_desc *desc, int part)
/* @desc: block device descriptor @part: partition number Return: 1 if a file system exists on the partition 0 otherwise  */
static int efi_fs_exists(struct blk_desc *desc, int part)
{
	if (fs_set_blk_dev_with_part(desc, part))
		return 0;
	if (fs_get_type() == FS_TYPE_ANY)
		return 0;
	fs_close();
	return 1;
}