* grub-core/fs/ufs.c (grub_ufs_get_file_block): Give GRUB_ERR_BAD_FS

for quadruple indirect rather than GRUB_ERR_NOT_IMPLEMENTED_YET as
	it's FS and not GRUB limitation.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-10-07 20:07:19 +02:00
parent a5f6ade676
commit b726be7653
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2013-10-07 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/fs/ufs.c (grub_ufs_get_file_block): Give GRUB_ERR_BAD_FS
for quadruple indirect rather than GRUB_ERR_NOT_IMPLEMENTED_YET as
it's FS and not GRUB limitation.
2013-10-07 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/arm/efi/startup.S: Remove thumb leftover.

View file

@ -321,7 +321,7 @@ grub_ufs_get_file_block (struct grub_ufs_data *data, grub_disk_addr_t blk)
return indir[blk & ((1 << log_indirsz) - 1)];
}
grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET,
grub_error (GRUB_ERR_BAD_FS,
"ufs does not support quadruple indirect blocks");
return 0;
}