From: Christoph Hellwig Date: Mon, 23 Jun 2008 03:25:25 +0000 (+1000) Subject: [XFS] Don't update i_size for directories and special files X-Git-Tag: v2.6.27-rc2~91^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5700704b2b0853c059e424284cceeff3032ea28;p=pandora-kernel.git [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 Signed-off-by: Barry Naujok Signed-off-by: Lachlan McIlroy --- Reading git-diff-tree failed