diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2018-07-25 21:52:32 +0200 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-07-26 19:15:16 +0200 |
commit | 44a8736bd20a08e1adbf479d11f8198a1243958d (patch) | |
tree | 8a5fb95064b3c5d81bf1907d1a34434c2f7c62bd /fs/xfs/xfs_log_recover.c | |
parent | xfs: kill IHOLD (diff) | |
download | linux-44a8736bd20a08e1adbf479d11f8198a1243958d.tar.xz linux-44a8736bd20a08e1adbf479d11f8198a1243958d.zip |
xfs: clean up IRELE/iput callsites
Replace the IRELE macro with a proper function so that we can do proper
typechecking and so that we can stop open-coding iput in scrub, which
means that we'll be able to ftrace inode lifetimes going through scrub
correctly.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_log_recover.c')
-rw-r--r-- | fs/xfs/xfs_log_recover.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c index 94908a4019e1..7776fde9430c 100644 --- a/fs/xfs/xfs_log_recover.c +++ b/fs/xfs/xfs_log_recover.c @@ -5087,11 +5087,11 @@ xlog_recover_process_one_iunlink( */ ip->i_d.di_dmevmask = 0; - IRELE(ip); + xfs_irele(ip); return agino; fail_iput: - IRELE(ip); + xfs_irele(ip); fail: /* * We can't read in the inode this bucket points to, or this inode |