diff options
author | David Chinner <david@fromorbit.com> | 2008-08-13 02:01:45 -0400 |
---|---|---|
committer | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-08-13 02:01:45 -0400 |
commit | e6064d30c3407db7f8c19d5538ec847b29e47e30 (patch) | |
tree | 0717b05a9a937e707c99309be8264b22546e4a44 /fs/xfs/xfs_inode.h | |
parent | e4f7529108d01bf66af8ebecd6be2b98d8db30ce (diff) |
[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>
Diffstat (limited to 'fs/xfs/xfs_inode.h')
-rw-r--r-- | fs/xfs/xfs_inode.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/xfs/xfs_inode.h b/fs/xfs/xfs_inode.h index 4e1e55e90779..4088951230aa 100644 --- a/fs/xfs/xfs_inode.h +++ b/fs/xfs/xfs_inode.h | |||
@@ -269,11 +269,6 @@ static inline struct xfs_inode *XFS_I(struct inode *inode) | |||
269 | return (struct xfs_inode *)inode->i_private; | 269 | return (struct xfs_inode *)inode->i_private; |
270 | } | 270 | } |
271 | 271 | ||
272 | static inline struct xfs_inode *xfs_vtoi(bhv_vnode_t *vp) | ||
273 | { | ||
274 | return XFS_I((struct inode *)vp); | ||
275 | } | ||
276 | |||
277 | /* convert from xfs inode to vfs inode */ | 272 | /* convert from xfs inode to vfs inode */ |
278 | static inline struct inode *VFS_I(struct xfs_inode *ip) | 273 | static inline struct inode *VFS_I(struct xfs_inode *ip) |
279 | { | 274 | { |