OSDN Git Service

ocfs2: Pass raw u64 to filldir
authorMark Fasheh <mark.fasheh@oracle.com>
Tue, 11 Sep 2007 00:30:26 +0000 (17:30 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Fri, 12 Oct 2007 18:54:37 +0000 (11:54 -0700)
commit7e8536797d4508ddc790cc3af6a281db1582d485
treedd18e042cb00ff09077244ffd755b363776e1dc3
parentb8bc5f4fde376c9eee524a9a2b7e85560e604e85
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 <mark.fasheh@oracle.com>
Reviewed-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/dir.c