[XFS] Remove vn_from_inode()
bhv_vnode_t is just a typedef for struct inode, so there's no need for a helper to convert between the two. SGI-PV: 981498 SGI-Modid: xfs-linux-melb:xfs-kern:31760a Signed-off-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
This commit is contained in:

committed by
Lachlan McIlroy

parent
39dab9d7da
commit
a19d033cd2
@@ -994,7 +994,7 @@ STATIC void
|
||||
xfs_fs_destroy_inode(
|
||||
struct inode *inode)
|
||||
{
|
||||
kmem_zone_free(xfs_vnode_zone, vn_from_inode(inode));
|
||||
kmem_zone_free(xfs_vnode_zone, inode);
|
||||
}
|
||||
|
||||
STATIC void
|
||||
|
Reference in New Issue
Block a user