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.
Signed-off-by: Christoph Hellwig <hch@xxxxxx>
Date: Mon Apr 21 15:11:57 AEST 2008
Workarea: redback.melbourne.sgi.com:/home/lachlan/isms/2.6.x-hch
Inspected by: hch
Author: lachlan
The following file(s) were checked into:
longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb
Modid: xfs-linux-melb:xfs-kern:30901a
fs/xfs/xfs_vnodeops.c - 1.753 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_vnodeops.c.diff?r1=text&tr1=1.753&r2=text&tr2=1.752&f=h
- simplify xfs_lookup
|