• Christoph Hellwig's avatar
    [XFS] kill xfs_get_dir_entry · 43973964
    Christoph Hellwig authored
    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: default avatarChristoph Hellwig <hch@infradead.org>
    Signed-off-by: default avatarLachlan McIlroy <lachlan@sgi.com>
    43973964
xfs_vnode.h 9.78 KB