diff options
author | Christoph Hellwig <hch@infradead.org> | 2008-04-22 07:34:12 (GMT) |
---|---|---|
committer | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-04-29 05:54:24 (GMT) |
commit | 1ac74e01df959e3e91baded7c83399372af945a2 (patch) | |
tree | 9d72cbcae16eaad8c0798a03cb9aa0c74249d795 /fs/xfs/xfs_attr.c | |
parent | cfa853e47df4fbee441ac0ac3fb592f076233145 (diff) | |
download | linux-fsl-qoriq-1ac74e01df959e3e91baded7c83399372af945a2.tar.xz |
[XFS] kill usesless IHOLD calls in xfs_rename
Similar to to the previous patch for remove and rmdir only grab a
reference to inodes when we join them to transaction to balance the
decrement on transaction completion. Everything else it taken care of by
the VFS.
Note that the old case had leaks of inode count when src == target or src
or target == one of the parent inodes, but these cases are fortunately
already rejected by the VFS.
SGI-PV: 976035
SGI-Modid: xfs-linux-melb:xfs-kern:30904a
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_attr.c')
0 files changed, 0 insertions, 0 deletions