From 3b319125a7e4e68693b94c01a6fea77cb86aee85 Mon Sep 17 00:00:00 2001 From: Lachlan McIlroy Date: Fri, 21 Dec 2007 11:00:23 +1100 Subject: [PATCH] --- yaml --- r: 75112 b: refs/heads/master c: 4743e0ec1217fd00f57461ebdd7979d31af18700 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/xfs/linux-2.6/xfs_file.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index f681f37e1fc2..6cd62c410950 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: bad60fdd14df32459e31cc75ab681e4458bf25cf +refs/heads/master: 4743e0ec1217fd00f57461ebdd7979d31af18700 diff --git a/trunk/fs/xfs/linux-2.6/xfs_file.c b/trunk/fs/xfs/linux-2.6/xfs_file.c index e1fcef2eb928..4847eb83fc18 100644 --- a/trunk/fs/xfs/linux-2.6/xfs_file.c +++ b/trunk/fs/xfs/linux-2.6/xfs_file.c @@ -347,6 +347,7 @@ xfs_file_readdir( size = buf.used; de = (struct hack_dirent *)buf.dirent; + curr_offset = de->offset /* & 0x7fffffff */; while (size > 0) { if (filldir(dirent, de->name, de->namlen, curr_offset & 0x7fffffff,