]> git.baikalelectronics.ru Git - kernel.git/commit
[XFS] kill xfs_get_dir_entry
authorChristoph Hellwig <hch@infradead.org>
Thu, 6 Mar 2008 02:44:50 +0000 (13:44 +1100)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Fri, 18 Apr 2008 01:39:14 +0000 (11:39 +1000)
commit0a670c44cb5936dfe272a97d6b16e46e3431da5c
tree17d21f1c23b4bdcd04b1057eaa8509ccad095d1d
parentb39bd5a0b367e8b7c628223617d7918321bee207
[XFS] kill xfs_get_dir_entry

Instead of of xfs_get_dir_entry use a macro to get the xfs_inode from the
dentry in the callers and grab the reference manually.

Only grab the reference once as it's fine to keep it over the dmapi calls.
(And even that reference is actually superflous in Linux but I'll leave
that for another patch)

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

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