aboutsummaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_bmap.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2008-06-23 13:25:25 +1000
committerNiv Sardi <xaiki@debian.org>2008-07-28 16:59:00 +1000
commite5700704b2b0853c059e424284cceeff3032ea28 (patch)
treef1b4a42cdbf7a745491cbcb3966f300ad52401f0 /fs/xfs/xfs_bmap.c
parent8f112e3bc3508afc8d1612868d178359446c08fd (diff)
[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_bmap.c')
0 files changed, 0 insertions, 0 deletions