summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_utils.h
diff options
context:
space:
mode:
authorDavid Chinner <david@fromorbit.com>2008-08-13 08:00:45 +0200
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2008-08-13 08:00:45 +0200
commite4f7529108d01bf66af8ebecd6be2b98d8db30ce (patch)
tree62207729c248cd072b077ea3190635b444909102 /fs/xfs/xfs_utils.h
parent[XFS] kill shouty XFS_ITOV_NULL macro (diff)
downloadlinux-e4f7529108d01bf66af8ebecd6be2b98d8db30ce.tar.xz
linux-e4f7529108d01bf66af8ebecd6be2b98d8db30ce.zip
[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_utils.h')
-rw-r--r--fs/xfs/xfs_utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_utils.h b/fs/xfs/xfs_utils.h
index f316cb85d8e2..7b533dfea603 100644
--- a/fs/xfs/xfs_utils.h
+++ b/fs/xfs/xfs_utils.h
@@ -18,8 +18,8 @@
#ifndef __XFS_UTILS_H__
#define __XFS_UTILS_H__
-#define IRELE(ip) VN_RELE(XFS_ITOV(ip))
-#define IHOLD(ip) VN_HOLD(XFS_ITOV(ip))
+#define IRELE(ip) VN_RELE(VFS_I(ip))
+#define IHOLD(ip) VN_HOLD(VFS_I(ip))
extern int xfs_truncate_file(xfs_mount_t *, xfs_inode_t *);
extern int xfs_dir_ialloc(xfs_trans_t **, xfs_inode_t *, mode_t, xfs_nlink_t,