summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_inode.h
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2018-07-25 12:51:48 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2018-07-26 10:15:16 -0700
commit89c3e8cf3c266d61347abcc412b9330d81da794b (patch)
treed9618a30d6b0bc870cbcc63a93b0a1b98532a59e /fs/xfs/xfs_inode.h
parentb277c37f43dd387f7430a2186deda0e58c943087 (diff)
downloadlinux-stable-89c3e8cf3c266d61347abcc412b9330d81da794b.tar.gz
linux-stable-89c3e8cf3c266d61347abcc412b9330d81da794b.tar.bz2
linux-stable-89c3e8cf3c266d61347abcc412b9330d81da794b.zip
xfs: kill IHOLD
Nobody uses this macro, get rid of it. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_inode.h')
-rw-r--r--fs/xfs/xfs_inode.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/fs/xfs/xfs_inode.h b/fs/xfs/xfs_inode.h
index b1f0e8394f3b..c43abf4ea3fc 100644
--- a/fs/xfs/xfs_inode.h
+++ b/fs/xfs/xfs_inode.h
@@ -483,13 +483,6 @@ static inline void xfs_setup_existing_inode(struct xfs_inode *ip)
xfs_finish_inode_setup(ip);
}
-#define IHOLD(ip) \
-do { \
- ASSERT(atomic_read(&VFS_I(ip)->i_count) > 0) ; \
- ihold(VFS_I(ip)); \
- trace_xfs_ihold(ip, _THIS_IP_); \
-} while (0)
-
#define IRELE(ip) \
do { \
trace_xfs_irele(ip, _THIS_IP_); \