• C
    [XFS] kill xfs_get_dir_entry · 43973964
    Christoph Hellwig 提交于
    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: NChristoph Hellwig <hch@infradead.org>
    Signed-off-by: NLachlan McIlroy <lachlan@sgi.com>
    43973964
xfs_vnodeops.c 106.6 KB