]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[XFS] optimize xfs_ichgtime
authorChristoph Hellwig <hch@infradead.org>
Wed, 13 Aug 2008 06:45:13 +0000 (16:45 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Wed, 13 Aug 2008 06:45:13 +0000 (16:45 +1000)
commit8e5975c82f66bce36955f38e9abc259d5143a72a
treedef4ae55c36f02f920037b769a268f389c5b513a
parentdff35fd41f252476cba7f761d7204dd9f47d739e
[XFS] optimize xfs_ichgtime

Port a little optmization from file_update_time to xfs_ichgtime, and only
update the timestamp and mark the inode dirty if the timestamp actually
changes in the timer tick resultion supported by the running kernel.

SGI-PV: 981498

SGI-Modid: xfs-linux-melb:xfs-kern:31827a

Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/linux-2.6/xfs_iops.c