projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b277c37
)
xfs: kill IHOLD
author
Darrick J. Wong
<darrick.wong@oracle.com>
Wed, 25 Jul 2018 19:51:48 +0000
(12:51 -0700)
committer
Darrick J. Wong
<darrick.wong@oracle.com>
Thu, 26 Jul 2018 17:15:16 +0000
(10:15 -0700)
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>
fs/xfs/xfs_inode.h
patch
|
blob
|
history
diff --git
a/fs/xfs/xfs_inode.h
b/fs/xfs/xfs_inode.h
index
b1f0e83
..
c43abf4
100644
(file)
--- 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_); \