[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>
This commit is contained in:
committed by
Lachlan McIlroy
parent
0165164625
commit
705db4a24e
@@ -1077,7 +1077,7 @@ xfs_ialloc(
|
||||
}
|
||||
ASSERT(ip != NULL);
|
||||
|
||||
vp = XFS_ITOV(ip);
|
||||
vp = VFS_I(ip);
|
||||
ip->i_d.di_mode = (__uint16_t)mode;
|
||||
ip->i_d.di_onlink = 0;
|
||||
ip->i_d.di_nlink = nlink;
|
||||
@@ -3480,7 +3480,7 @@ xfs_iflush_all(
|
||||
continue;
|
||||
}
|
||||
|
||||
vp = XFS_ITOV_NULL(ip);
|
||||
vp = VFS_I(ip);
|
||||
if (!vp) {
|
||||
XFS_MOUNT_IUNLOCK(mp);
|
||||
xfs_finish_reclaim(ip, 0, XFS_IFLUSH_ASYNC);
|
||||
|
||||
Reference in New Issue
Block a user