aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2/log.c')
-rw-r--r--fs/gfs2/log.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/gfs2/log.c b/fs/gfs2/log.c
index 536e7a6252cd..0ff028c15199 100644
--- a/fs/gfs2/log.c
+++ b/fs/gfs2/log.c
@@ -716,6 +716,9 @@ void gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl,
716 } 716 }
717 trace_gfs2_log_flush(sdp, 1); 717 trace_gfs2_log_flush(sdp, 1);
718 718
719 if (type == SHUTDOWN_FLUSH)
720 clear_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags);
721
719 sdp->sd_log_flush_head = sdp->sd_log_head; 722 sdp->sd_log_flush_head = sdp->sd_log_head;
720 sdp->sd_log_flush_wrapped = 0; 723 sdp->sd_log_flush_wrapped = 0;
721 tr = sdp->sd_log_tr; 724 tr = sdp->sd_log_tr;