[XFS] kill usesless IHOLD calls in xfs_remove and xfs_rmdir
authorChristoph Hellwig <hch@infradead.org>
Tue, 22 Apr 2008 07:34:24 +0000 (17:34 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Tue, 29 Apr 2008 05:54:45 +0000 (15:54 +1000)
commit5df78e73d328e870a1cd8a9e0f39bf094e42ce9d
tree1143df7aedfad9040b5c475b26effd4b900e4e0f
parent82dab941a192d081dd0b7cde3ed32603372d5acc
[XFS] kill usesless IHOLD calls in xfs_remove and xfs_rmdir

The VFS always has an inode reference when we call these functions. So we
only need to grab a signle reference to each inode that's joined to a
transaction - all the other bumping and dropping is as useless as the
comments describing the IRIX semantics.

SGI-PV: 976035
SGI-Modid: xfs-linux-melb:xfs-kern:30912a

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