From: Bob Peterson Date: Wed, 22 Jul 2020 15:19:52 +0000 (-0500) Subject: gfs2: Fix inaccurate comment X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b57bc0fb2fe403b687142d12fba4ad085f8be6ee;p=linux.git gfs2: Fix inaccurate comment The comment regarding journal flush thresholds is wrong. This patch fixes it. Signed-off-by: Bob Peterson Signed-off-by: Andreas Gruenbacher --- diff --git a/fs/gfs2/log.c b/fs/gfs2/log.c index a76e55bc28ebf..a58333e3980df 100644 --- a/fs/gfs2/log.c +++ b/fs/gfs2/log.c @@ -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