diff options
author | Christoph Hellwig <hch@infradead.org> | 2008-08-13 16:13:09 +1000 |
---|---|---|
committer | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-08-13 16:13:09 +1000 |
commit | 0b1f917730dc2276fadbd9813ac3666abd7b1cbd (patch) | |
tree | 8fe61b1287643bf47d3d88204f33393361d8d70c /fs/xfs/xfs_bmap.c | |
parent | 604323ca760beebf00a07153706dcbe7128324e0 (diff) | |
download | kernel-common-0b1f917730dc2276fadbd9813ac3666abd7b1cbd.tar.gz kernel-common-0b1f917730dc2276fadbd9813ac3666abd7b1cbd.tar.bz2 kernel-common-0b1f917730dc2276fadbd9813ac3666abd7b1cbd.zip |
[XFS] remove remaining VN_HOLD calls
Use IHOLD(ip) instead of VN_HOLD(VFS_I(ip)).
SGI-PV: 981498
SGI-Modid: xfs-linux-melb:xfs-kern:31765a
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_bmap.c')
-rw-r--r-- | fs/xfs/xfs_bmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_bmap.c b/fs/xfs/xfs_bmap.c index bac82af39a52..3d6a2ce8503e 100644 --- a/fs/xfs/xfs_bmap.c +++ b/fs/xfs/xfs_bmap.c @@ -4000,7 +4000,7 @@ xfs_bmap_add_attrfork( ip->i_d.di_aformat = XFS_DINODE_FMT_EXTENTS; } ASSERT(ip->i_d.di_anextents == 0); - VN_HOLD(VFS_I(ip)); + IHOLD(ip); xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL); xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE); switch (ip->i_d.di_format) { |