aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_log.c')
-rw-r--r--fs/xfs/xfs_log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c
index 9f70ab3e0983..95d679cd4e75 100644
--- a/fs/xfs/xfs_log.c
+++ b/fs/xfs/xfs_log.c
@@ -817,7 +817,7 @@ xfs_log_need_covered(xfs_mount_t *mp)
817 xlog_t *log = mp->m_log; 817 xlog_t *log = mp->m_log;
818 bhv_vfs_t *vfsp = XFS_MTOVFS(mp); 818 bhv_vfs_t *vfsp = XFS_MTOVFS(mp);
819 819
820 if (fs_frozen(vfsp) || XFS_FORCED_SHUTDOWN(mp) || 820 if (vfs_test_for_freeze(vfsp) || XFS_FORCED_SHUTDOWN(mp) ||
821 (vfsp->vfs_flag & VFS_RDONLY)) 821 (vfsp->vfs_flag & VFS_RDONLY))
822 return 0; 822 return 0;
823 823