summaryrefslogtreecommitdiff
path: root/fs/gfs2/log.c
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2020-08-31 08:12:15 -0500
committerAndreas Gruenbacher <agruenba@redhat.com>2020-10-14 23:54:41 +0200
commit521031fa970109fbf7a808322fb0c92092a51cf0 (patch)
tree34e2161b26317371596d5e788c59142885cecc36 /fs/gfs2/log.c
parent5a61ae1402f15276ee4e003e198aab816958ca69 (diff)
gfs2: Fix bad comment for trans_drain
Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/log.c')
-rw-r--r--fs/gfs2/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/log.c b/fs/gfs2/log.c
index 93032feb5159..a83e6426e26e 100644
--- a/fs/gfs2/log.c
+++ b/fs/gfs2/log.c
@@ -902,7 +902,7 @@ static void empty_ail1_list(struct gfs2_sbd *sdp)
}
/**
- * drain_bd - drain the buf and databuf queue for a failed transaction
+ * trans_drain - drain the buf and databuf queue for a failed transaction
* @tr: the transaction to drain
*
* When this is called, we're taking an error exit for a log write that failed