]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/fs/ufs.c (grub_ufs_get_file_block): Give GRUB_ERR_BAD_FS
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Mon, 7 Oct 2013 18:07:19 +0000 (20:07 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Mon, 7 Oct 2013 18:07:19 +0000 (20:07 +0200)
for quadruple indirect rather than GRUB_ERR_NOT_IMPLEMENTED_YET as
it's FS and not GRUB limitation.

ChangeLog
grub-core/fs/ufs.c

index 6793b12dfbd84371dedb0306d99b40ae26a8a932..45dc6f3dd459dbd2e9b1325bcfd9d46cbcd678ff 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index c1559129c15ef48126fc344cf9587f03ecd67c7d..a855f8c455c13dee181076c40c5f03609547bd73 100644 (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;
 }