summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_dir2_node.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2008-06-23 05:25:25 +0200
committerNiv Sardi <xaiki@debian.org>2008-07-28 08:59:00 +0200
commite5700704b2b0853c059e424284cceeff3032ea28 (patch)
treef1b4a42cdbf7a745491cbcb3966f300ad52401f0 /fs/xfs/xfs_dir2_node.c
parent[XFS] Merge xfs_rmdir into xfs_remove (diff)
downloadlinux-e5700704b2b0853c059e424284cceeff3032ea28.tar.xz
linux-e5700704b2b0853c059e424284cceeff3032ea28.zip
[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