/* @fh: file handle @file_size: pointer to receive file size Return: status code  */
static efi_status_t efi_get_file_size(struct file_handle *fh, loff_t *file_size)
/* @fh: file handle @file_size: pointer to receive file size Return: status code  */
static efi_status_t efi_get_file_size(struct file_handle *fh, loff_t *file_size)
{
	if (set_blk_dev(fh))
		return EFI_DEVICE_ERROR;
	if (fs_size(fh->path, file_size))
		return EFI_DEVICE_ERROR;
	return EFI_SUCCESS;
}