X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=fs%2Fxfs%2Fxfs_dir2_leaf.c;h=0ca0020ba09f0cd6c927d45d786712d80a87c2a1;hb=26808d3f10b1213bbb6e27d441be40e20ab84611;hp=e7c12fa1303ee06c2d2837e781083b61cd0f7944;hpb=2843483d2eb02ad104edbe8b2429fb6a39d25063;p=powerpc.git diff --git a/fs/xfs/xfs_dir2_leaf.c b/fs/xfs/xfs_dir2_leaf.c index e7c12fa130..0ca0020ba0 100644 --- a/fs/xfs/xfs_dir2_leaf.c +++ b/fs/xfs/xfs_dir2_leaf.c @@ -1091,7 +1091,7 @@ xfs_dir2_leaf_getdents( * Won't fit. Return to caller. */ if (filldir(dirent, dep->name, dep->namelen, - xfs_dir2_byte_to_dataptr(mp, curoff + length), + xfs_dir2_byte_to_dataptr(mp, curoff), ino, DT_UNKNOWN)) break;