diff options
author | David Chinner <david@fromorbit.com> | 2008-08-13 01:47:43 -0400 |
---|---|---|
committer | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-08-13 01:47:43 -0400 |
commit | 705db4a24e0576f30d736de3c49623b4686ce473 (patch) | |
tree | f87bf78c747a7886043b93483775d2eb9ca49e20 /fs/xfs/xfs_inode.c | |
parent | 016516462575d28fab3354f762cad16c86c09116 (diff) |
[XFS] kill shouty XFS_ITOV_NULL macro
Replace XFS_ITOV_NULL() with the new VFS_I() inline.
SGI-PV: 981498
SGI-Modid: xfs-linux-melb:xfs-kern:31722a
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.c')
-rw-r--r-- | fs/xfs/xfs_inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index bedc66163176..46cecba09928 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c | |||
@@ -1077,7 +1077,7 @@ xfs_ialloc( | |||
1077 | } | 1077 | } |
1078 | ASSERT(ip != NULL); | 1078 | ASSERT(ip != NULL); |
1079 | 1079 | ||
1080 | vp = XFS_ITOV(ip); | 1080 | vp = VFS_I(ip); |
1081 | ip->i_d.di_mode = (__uint16_t)mode; | 1081 | ip->i_d.di_mode = (__uint16_t)mode; |
1082 | ip->i_d.di_onlink = 0; | 1082 | ip->i_d.di_onlink = 0; |
1083 | ip->i_d.di_nlink = nlink; | 1083 | ip->i_d.di_nlink = nlink; |
@@ -3480,7 +3480,7 @@ xfs_iflush_all( | |||
3480 | continue; | 3480 | continue; |
3481 | } | 3481 | } |
3482 | 3482 | ||
3483 | vp = XFS_ITOV_NULL(ip); | 3483 | vp = VFS_I(ip); |
3484 | if (!vp) { | 3484 | if (!vp) { |
3485 | XFS_MOUNT_IUNLOCK(mp); | 3485 | XFS_MOUNT_IUNLOCK(mp); |
3486 | xfs_finish_reclaim(ip, 0, XFS_IFLUSH_ASYNC); | 3486 | xfs_finish_reclaim(ip, 0, XFS_IFLUSH_ASYNC); |