xfs: clean up IRELE/iput callsites
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 25 Jul 2018 19:52:32 +0000 (12:52 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 26 Jul 2018 17:15:16 +0000 (10:15 -0700)
commit44a8736bd20a08e1adbf479d11f8198a1243958d
tree8a5fb95064b3c5d81bf1907d1a34434c2f7c62bd
parent89c3e8cf3c266d61347abcc412b9330d81da794b
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>
19 files changed:
fs/xfs/scrub/common.c
fs/xfs/scrub/dir.c
fs/xfs/scrub/parent.c
fs/xfs/scrub/scrub.c
fs/xfs/xfs_bmap_item.c
fs/xfs/xfs_export.c
fs/xfs/xfs_filestream.c
fs/xfs/xfs_icache.c
fs/xfs/xfs_inode.c
fs/xfs/xfs_inode.h
fs/xfs/xfs_iops.c
fs/xfs/xfs_itable.c
fs/xfs/xfs_log_recover.c
fs/xfs/xfs_mount.c
fs/xfs/xfs_qm.c
fs/xfs/xfs_qm_syscalls.c
fs/xfs/xfs_quotaops.c
fs/xfs/xfs_rtalloc.c
fs/xfs/xfs_symlink.c