[XFS] Ensure the inode is joined in xfs_itruncate_finish
authorDavid Chinner <dgc@sgi.com>
Thu, 17 Apr 2008 06:50:04 +0000 (16:50 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Fri, 18 Apr 2008 02:03:26 +0000 (12:03 +1000)
commitf6485057c5cfbc84e5eff639ddea1ce0d668607b
tree5366b91b26379b32e900fdccbac26edf71bca1b9
parent7e20694d91f817f8e9f62404aca793ae0df4d98a
[XFS] Ensure the inode is joined in xfs_itruncate_finish

On success, we still need to join the inode to the current transaction in
xfs_itruncate_finish(). Fixes regression from error handling changes.

SGI-PV: 980084
SGI-Modid: xfs-linux-melb:xfs-kern:30845a

Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/xfs_inode.c