xfs: remove duplicate wq cancel and log force from attr quiesce

These two calls are repeated at the beginning of xfs_log_quiesce().
Drop them from xfs_quiesce_attr().

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
This commit is contained in:
Brian Foster 2021-01-22 16:48:23 -08:00 committed by Darrick J. Wong
parent f46e5a1746
commit 5232b93150

View file

@ -884,11 +884,6 @@ void
xfs_quiesce_attr(
struct xfs_mount *mp)
{
cancel_delayed_work_sync(&mp->m_log->l_work);
/* force the log to unpin objects from the now complete transactions */
xfs_log_force(mp, XFS_LOG_SYNC);
xfs_log_clean(mp);
}