From: Brian Foster Date: Sat, 23 Jan 2021 00:48:23 +0000 (-0800) Subject: xfs: remove duplicate wq cancel and log force from attr quiesce X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5232b9315034e45dba43b164aca3d5228948d05b;p=linux.git 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 Reviewed-by: Darrick J. Wong Reviewed-by: Darrick J. Wong Signed-off-by: Darrick J. Wong Reviewed-by: Allison Henderson --- diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c index 75ada867c665b..8fc9044131fcd 100644 --- a/fs/xfs/xfs_super.c +++ b/fs/xfs/xfs_super.c @@ -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); }