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)
Signed-off-by: Christoph Hellwig <hch@xxxxxx>
Date: Fri Feb 22 13:11:59 AEDT 2008
Workarea: redback.melbourne.sgi.com:/home/lachlan/isms/2.6.x-hch
Inspected by: lachlan
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:30531a
fs/xfs/xfs_vnodeops.c - 1.737 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_vnodeops.c.diff?r1=text&tr1=1.737&r2=text&tr2=1.736&f=h
fs/xfs/xfs_utils.c - 1.81 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_utils.c.diff?r1=text&tr1=1.81&r2=text&tr2=1.80&f=h
fs/xfs/xfs_utils.h - 1.39 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_utils.h.diff?r1=text&tr1=1.39&r2=text&tr2=1.38&f=h
fs/xfs/xfs_rename.c - 1.79 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_rename.c.diff?r1=text&tr1=1.79&r2=text&tr2=1.78&f=h
fs/xfs/linux-2.6/xfs_vnode.h - 1.145 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_vnode.h.diff?r1=text&tr1=1.145&r2=text&tr2=1.144&f=h
- kill xfs_get_dir_entry
|