mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 14:11:20 +00:00
[XFS] XFS: Kill xfs_vtoi()
xfs_vtoi() is redundant and only unsed in small sections of code. Replace them with widely used XFS_I() inline and kill xfs_vtoi(). SGI-PV: 981498 SGI-Modid: xfs-linux-melb:xfs-kern:31725a Signed-off-by: David Chinner <david@fromorbit.com> Signed-off-by: Niv Sardi <xaiki@sgi.com> Signed-off-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
This commit is contained in:
parent
e4f7529108
commit
e6064d30c3
4 changed files with 11 additions and 17 deletions
|
@ -269,11 +269,6 @@ static inline struct xfs_inode *XFS_I(struct inode *inode)
|
|||
return (struct xfs_inode *)inode->i_private;
|
||||
}
|
||||
|
||||
static inline struct xfs_inode *xfs_vtoi(bhv_vnode_t *vp)
|
||||
{
|
||||
return XFS_I((struct inode *)vp);
|
||||
}
|
||||
|
||||
/* convert from xfs inode to vfs inode */
|
||||
static inline struct inode *VFS_I(struct xfs_inode *ip)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue