[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)
commit43973964a386348af0a392266f008ba24170aa30
tree17d21f1c23b4bdcd04b1057eaa8509ccad095d1d
parenta8b3acd57e3aaaf73a863a28e0e9f6cca37cd8e3
[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