summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log_recover.c
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2020-05-06 13:29:20 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2020-05-07 08:27:49 -0700
commitc199507993ede3f63d0deae7e2cbc2f5462c6452 (patch)
tree80a2074f3d188df46ac6a0f0c9d884c72701733d /fs/xfs/xfs_log_recover.c
parent28d84620797e04e983bcd515ac0a6146396b0e31 (diff)
downloadlinux-c199507993ede3f63d0deae7e2cbc2f5462c6452.tar.gz
linux-c199507993ede3f63d0deae7e2cbc2f5462c6452.tar.bz2
linux-c199507993ede3f63d0deae7e2cbc2f5462c6452.zip
xfs: remove unused iget_flags param from xfs_imap_to_bp()
iget_flags is unused in xfs_imap_to_bp(). Remove the parameter and fix up the callers. Signed-off-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Allison Collins <allison.henderson@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_log_recover.c')
-rw-r--r--fs/xfs/xfs_log_recover.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c
index d0e2dd81de53..320785115833 100644
--- a/fs/xfs/xfs_log_recover.c
+++ b/fs/xfs/xfs_log_recover.c
@@ -4969,7 +4969,7 @@ xlog_recover_process_one_iunlink(
/*
* Get the on disk inode to find the next inode in the bucket.
*/
- error = xfs_imap_to_bp(mp, NULL, &ip->i_imap, &dip, &ibp, 0, 0);
+ error = xfs_imap_to_bp(mp, NULL, &ip->i_imap, &dip, &ibp, 0);
if (error)
goto fail_iput;