2010-02-07 Vladimir Serbinenko <phcoder@gmail.com>
* fs/reiserfs.c (grub_reiserfs_read): Use #if 0 instead of commenting code out.
This commit is contained in:
parent
8f891adc6f
commit
6b2ad14b7a
2 changed files with 9 additions and 2 deletions
|
@ -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>
|
2010-02-07 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* include/grub/cache.h (grub_arch_sync_caches) [i386 || x86_64]: Inline.
|
* include/grub/cache.h (grub_arch_sync_caches) [i386 || x86_64]: Inline.
|
||||||
|
|
|
@ -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 long) (current_position - initial_position),
|
||||||
(unsigned long) len);
|
(unsigned long) len);
|
||||||
return current_position - initial_position;
|
return current_position - initial_position;
|
||||||
/*
|
|
||||||
|
#if 0
|
||||||
switch (found.type)
|
switch (found.type)
|
||||||
{
|
{
|
||||||
case GRUB_REISERFS_DIRECT:
|
case GRUB_REISERFS_DIRECT:
|
||||||
|
@ -1232,7 +1233,8 @@ grub_reiserfs_read (grub_file_t file, char *buf, grub_size_t len)
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
return read_length;*/
|
return read_length;
|
||||||
|
#endif
|
||||||
|
|
||||||
fail:
|
fail:
|
||||||
grub_free (indirect_block_ptr);
|
grub_free (indirect_block_ptr);
|
||||||
|
|
Loading…
Reference in a new issue