diff options
author | Christoph Hellwig <hch@infradead.org> | 2008-04-22 17:34:12 +1000 |
---|---|---|
committer | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-04-29 15:54:24 +1000 |
commit | 1ac74e01df959e3e91baded7c83399372af945a2 (patch) | |
tree | 9d72cbcae16eaad8c0798a03cb9aa0c74249d795 /mm/mprotect.c | |
parent | cfa853e47df4fbee441ac0ac3fb592f076233145 (diff) |
[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 'mm/mprotect.c')
0 files changed, 0 insertions, 0 deletions