diff options
author | Christoph Hellwig <hch@infradead.org> | 2008-06-23 13:25:25 +1000 |
---|---|---|
committer | Niv Sardi <xaiki@debian.org> | 2008-07-28 16:59:00 +1000 |
commit | e5700704b2b0853c059e424284cceeff3032ea28 (patch) | |
tree | f1b4a42cdbf7a745491cbcb3966f300ad52401f0 /fs/xfs/xfs_dir2_node.c | |
parent | 8f112e3bc3508afc8d1612868d178359446c08fd (diff) | |
download | op-kernel-dev-e5700704b2b0853c059e424284cceeff3032ea28.zip op-kernel-dev-e5700704b2b0853c059e424284cceeff3032ea28.tar.gz |
[XFS] Don't update i_size for directories and special files
The core kernel uses vfs_getattr to look at the inode size and similar
attributes, so there is no need to keep i_size uptodate for directories or
special files. This means we can remove xfs_validate_fields because the
I/O path already keeps i_size uptodate for regular files.
SGI-PV: 981498
SGI-Modid: xfs-linux-melb:xfs-kern:31336a
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Barry Naujok <bnaujok@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_dir2_node.c')
0 files changed, 0 insertions, 0 deletions