[XFS] update timestamp in xfs_ialloc manually
authorChristoph Hellwig <hch@infradead.org>
Wed, 13 Aug 2008 06:44:15 +0000 (16:44 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Wed, 13 Aug 2008 06:44:15 +0000 (16:44 +1000)
commitdff35fd41f252476cba7f761d7204dd9f47d739e
tree3f4da55c3e5aede3de6d97a11bd0d53656aa6781
parentab4a9b04a33c97dd17495f943447f5a15ecf2b51
[XFS] update timestamp in xfs_ialloc manually

In xfs_ialloc we just want to set all timestamps to the current time. We
don't need to mark the inode dirty like xfs_ichgtime does, and we don't
need nor want the opimizations in xfs_ichgtime that I will introduce in
the next patch.

So just opencode the timestamp update in xfs_ialloc, and remove the new
unused XFS_ICHGTIME_ACC case in xfs_ichgtime.

SGI-PV: 981498

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

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