grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Incomplete file listing with reiserfs partition


From: Yoshinori K. Okuji
Subject: Re: Incomplete file listing with reiserfs partition
Date: Thu, 24 Jan 2008 22:29:19 +0100
User-agent: KMail/1.9.4

On Thursday 24 January 2008 20:57, Bean wrote:
> this is the patch, it can list all files.
>
> the main problem of the original code is that it assume that the next
> offset will be current offset + 1, this is not true. the offset is a
> hash value. it can be extracted when going through the B+ tree.
>
>        * fs/reiserfs.c (grub_fshelp_node): New member next_offset.
>        (grub_reiserfs_get_item): Save offset of the next item.
>        (grub_reiserfs_iterate_dir): Use next_offset to find next item.

Great. Please feel free to check it in.

Okuji




reply via email to

[Prev in Thread] Current Thread [Next in Thread]