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 fe88ef67f93a..e810e9df91b7 100644
--- a/fs/xfs/xfs_log.c
+++ b/fs/xfs/xfs_log.c
@@ -1031,7 +1031,7 @@ xfs_log_need_covered(xfs_mount_t *mp)
1031 struct xlog *log = mp->m_log; 1031 struct xlog *log = mp->m_log;
1032 int needed = 0; 1032 int needed = 0;
1033 1033
1034 if (!xfs_fs_writable(mp)) 1034 if (!xfs_fs_writable(mp, SB_FREEZE_WRITE))
1035 return 0; 1035 return 0;
1036 1036
1037 if (!xlog_cil_empty(log)) 1037 if (!xlog_cil_empty(log))