]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2010-02-07 Vladimir Serbinenko <phcoder@gmail.com>
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 7 Feb 2010 00:33:37 +0000 (01:33 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 7 Feb 2010 00:33:37 +0000 (01:33 +0100)
* fs/reiserfs.c (grub_reiserfs_read): Use #if 0 instead of commenting
code out.

ChangeLog
fs/reiserfs.c

index c91b4a042adb90340ebd726f3626ec4c22b20f97..771ba8e04fcf0450d20e90a148744320fa6b1bb6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-02-07  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * fs/reiserfs.c (grub_reiserfs_read): Use #if 0 instead of commenting
+       code out.
+
 2010-02-07  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * include/grub/cache.h (grub_arch_sync_caches) [i386 || x86_64]: Inline.
index 444bf31205d1170a54dcf2055c9ed14c6b802caa..c3db52f60573c43be640d7f3869dd1efbf6ad84d 100644 (file)
@@ -1189,7 +1189,8 @@ grub_reiserfs_read (grub_file_t file, char *buf, grub_size_t len)
                (unsigned long long) (current_position - initial_position),
                (unsigned long) len);
   return current_position - initial_position;
-/*
+
+#if 0
   switch (found.type)
     {
       case GRUB_REISERFS_DIRECT:
@@ -1232,7 +1233,8 @@ grub_reiserfs_read (grub_file_t file, char *buf, grub_size_t len)
         goto fail;
     }
 
-  return read_length;*/
+  return read_length;
+#endif
 
  fail:
   grub_free (indirect_block_ptr);