Commit:     7e8536797d4508ddc790cc3af6a281db1582d485
Parent:     b8bc5f4fde376c9eee524a9a2b7e85560e604e85
Author:     Mark Fasheh <[EMAIL PROTECTED]>
AuthorDate: Mon Sep 10 17:30:26 2007 -0700
Committer:  Mark Fasheh <[EMAIL PROTECTED]>
CommitDate: Fri Oct 12 11:54:37 2007 -0700

    ocfs2: Pass raw u64 to filldir
    filldir_t can take this, so don't turn de->inode into a 32 bit value. Right
    now this doesn't make a difference since no ocfs2 inodes overflow that, but
    it could be a nasty surprise later on if some kernel code is calling
    ocfs2_dir_foreach_blk() and expecting real inode numbers back...
    Signed-off-by: Mark Fasheh <[EMAIL PROTECTED]>
    Reviewed-by: Joel Becker <[EMAIL PROTECTED]>
 fs/ocfs2/dir.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c
index d1f92fd..dbfa6f6 100644
--- a/fs/ocfs2/dir.c
+++ b/fs/ocfs2/dir.c
@@ -512,7 +512,7 @@ revalidate:
                                error = filldir(priv, de->name,
-                                               ino_from_blkno(sb, 
+                                               le64_to_cpu(de->inode),
                                if (error)
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to