diff options
author | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-12-22 17:50:56 +1100 |
---|---|---|
committer | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-12-22 17:50:56 +1100 |
commit | d415867e0abc35e3b2f0d4196e98c339d6fe29a2 (patch) | |
tree | b47b85fb268449e8f4afb619c82e43e51ed261e9 /fs/xfs/xfs_inode.c | |
parent | 27a0464a6cb837d3a90b6e69365dfc01cb0dff2f (diff) |
[XFS] Use the incore inode size in xfs_file_readdir()
We should be using the incore inode size here not the linux inode
size. The incore inode size is always up to date for directories
whereas the linux inode size is not updated for directories.
We've hit assertions in xfs_bmap() and traced it back to the linux
inode size being zero but the incore size being correct.
Reviewed-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_inode.c')
0 files changed, 0 insertions, 0 deletions