Commit e469e765 authored by Glen Overby's avatar Glen Overby Committed by Stephen Lord

[XFS] getdents fix for dir v2

SGI Modid: 2.5.x-xfs:slinx:139574a
parent dee0f2b2
......@@ -1059,6 +1059,9 @@ xfs_dir2_leaf_getdents(
XFS_DIR2_DB_OFF_TO_BYTE(mp,
XFS_DIR2_BYTE_TO_DB(mp, curoff),
(char *)ptr - (char *)data);
if (ptr >= (char *)data + mp->m_dirblksize) {
continue;
}
}
}
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment