gfs2: Fix inaccurate comment
authorBob Peterson <rpeterso@redhat.com>
Wed, 22 Jul 2020 15:19:52 +0000 (10:19 -0500)
committerAndreas Gruenbacher <agruenba@redhat.com>
Fri, 7 Aug 2020 10:18:06 +0000 (12:18 +0200)
The comment regarding journal flush thresholds is wrong. This patch fixes it.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/log.c

index a76e55b..a58333e 100644 (file)
@@ -1092,7 +1092,7 @@ static void log_refund(struct gfs2_sbd *sdp, struct gfs2_trans *tr)
  * or the total number of used blocks (pinned blocks plus AIL blocks)
  * is greater than thresh2.
  *
- * At mount time thresh1 is 1/3rd of journal size, thresh2 is 2/3rd of
+ * At mount time thresh1 is 2/5ths of journal size, thresh2 is 4/5ths of
  * journal size.
  *
  * Returns: errno