[XFS] simplify xfs_lookup
authorChristoph Hellwig <hch@infradead.org>
Tue, 22 Apr 2008 07:33:52 +0000 (17:33 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Tue, 29 Apr 2008 05:53:52 +0000 (15:53 +1000)
commiteca450b7c23f804597b87085b2a05bfc5b3ccb8b
tree7d39315344e07ae885c9a9fa174b9d8e93e3dc03
parentd4377d84189349357e1812eaff6d0504766eea06
[XFS] simplify xfs_lookup

Opencode xfs-kill-xfs_dir_lookup_int here, which gets rid of a lock
roundtrip, and lots of stack space. Also kill the di_mode == 0 check that
has been done in xfs_iget for a few years now.

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

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