diff options
author | David Chinner <david@fromorbit.com> | 2008-08-13 02:00:45 -0400 |
---|---|---|
committer | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-08-13 02:00:45 -0400 |
commit | e4f7529108d01bf66af8ebecd6be2b98d8db30ce (patch) | |
tree | 62207729c248cd072b077ea3190635b444909102 /fs/xfs/xfs_vnodeops.c | |
parent | 705db4a24e0576f30d736de3c49623b4686ce473 (diff) |
[XFS] Kill shouty XFS_ITOV() macro
Replace XFS_ITOV() with the new VFS_I() inline.
SGI-PV: 981498
SGI-Modid: xfs-linux-melb:xfs-kern:31724a
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_vnodeops.c')
-rw-r--r-- | fs/xfs/xfs_vnodeops.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/xfs/xfs_vnodeops.c b/fs/xfs/xfs_vnodeops.c index a2e470ae259a..35a053fd161b 100644 --- a/fs/xfs/xfs_vnodeops.c +++ b/fs/xfs/xfs_vnodeops.c | |||
@@ -83,7 +83,7 @@ xfs_setattr( | |||
83 | cred_t *credp) | 83 | cred_t *credp) |
84 | { | 84 | { |
85 | xfs_mount_t *mp = ip->i_mount; | 85 | xfs_mount_t *mp = ip->i_mount; |
86 | struct inode *inode = XFS_ITOV(ip); | 86 | struct inode *inode = VFS_I(ip); |
87 | int mask = iattr->ia_valid; | 87 | int mask = iattr->ia_valid; |
88 | xfs_trans_t *tp; | 88 | xfs_trans_t *tp; |
89 | int code; | 89 | int code; |
@@ -714,7 +714,7 @@ xfs_fsync( | |||
714 | return XFS_ERROR(EIO); | 714 | return XFS_ERROR(EIO); |
715 | 715 | ||
716 | /* capture size updates in I/O completion before writing the inode. */ | 716 | /* capture size updates in I/O completion before writing the inode. */ |
717 | error = filemap_fdatawait(vn_to_inode(XFS_ITOV(ip))->i_mapping); | 717 | error = filemap_fdatawait(vn_to_inode(VFS_I(ip))->i_mapping); |
718 | if (error) | 718 | if (error) |
719 | return XFS_ERROR(error); | 719 | return XFS_ERROR(error); |
720 | 720 | ||
@@ -1160,7 +1160,7 @@ int | |||
1160 | xfs_release( | 1160 | xfs_release( |
1161 | xfs_inode_t *ip) | 1161 | xfs_inode_t *ip) |
1162 | { | 1162 | { |
1163 | bhv_vnode_t *vp = XFS_ITOV(ip); | 1163 | bhv_vnode_t *vp = VFS_I(ip); |
1164 | xfs_mount_t *mp = ip->i_mount; | 1164 | xfs_mount_t *mp = ip->i_mount; |
1165 | int error; | 1165 | int error; |
1166 | 1166 | ||
@@ -1227,7 +1227,7 @@ int | |||
1227 | xfs_inactive( | 1227 | xfs_inactive( |
1228 | xfs_inode_t *ip) | 1228 | xfs_inode_t *ip) |
1229 | { | 1229 | { |
1230 | bhv_vnode_t *vp = XFS_ITOV(ip); | 1230 | bhv_vnode_t *vp = VFS_I(ip); |
1231 | xfs_bmap_free_t free_list; | 1231 | xfs_bmap_free_t free_list; |
1232 | xfs_fsblock_t first_block; | 1232 | xfs_fsblock_t first_block; |
1233 | int committed; | 1233 | int committed; |
@@ -2873,7 +2873,7 @@ int | |||
2873 | xfs_reclaim( | 2873 | xfs_reclaim( |
2874 | xfs_inode_t *ip) | 2874 | xfs_inode_t *ip) |
2875 | { | 2875 | { |
2876 | bhv_vnode_t *vp = XFS_ITOV(ip); | 2876 | bhv_vnode_t *vp = VFS_I(ip); |
2877 | 2877 | ||
2878 | xfs_itrace_entry(ip); | 2878 | xfs_itrace_entry(ip); |
2879 | 2879 | ||
@@ -3341,7 +3341,7 @@ xfs_free_file_space( | |||
3341 | xfs_trans_t *tp; | 3341 | xfs_trans_t *tp; |
3342 | int need_iolock = 1; | 3342 | int need_iolock = 1; |
3343 | 3343 | ||
3344 | vp = XFS_ITOV(ip); | 3344 | vp = VFS_I(ip); |
3345 | mp = ip->i_mount; | 3345 | mp = ip->i_mount; |
3346 | 3346 | ||
3347 | xfs_itrace_entry(ip); | 3347 | xfs_itrace_entry(ip); |