[Ocfs2-tools-devel] [PATCH 12/13] fsck.ocfs2: Pre-cache inodes in reverse order.
Sunil Mushran
sunil.mushran at oracle.com
Fri Jun 19 16:04:23 PDT 2009
Joel Becker wrote:
> On Fri, Jun 19, 2009 at 03:26:53PM -0700, Sunil Mushran wrote:
>> What if the chain record is empty? This patch does not mesh
>> with the PR_CHAIN_EMPTY case.
>
> I fixed it to ... oh, wait, we don't go back around to fix the
> bg_chain value. Is that what you mean?
I looked at it again. It fixes a empty chain by copying in the last record.
It then does i-- so as to ensure it does not skip checking it. In your
case, as you are scanning from the last to first, that record has already
been checked.
So I just wrote stuff you already knew.... :)
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
More information about the Ocfs2-tools-devel
mailing list