From: Theodore Ts'o <tytso@mit.edu>
Date: Sat, 18 Dec 2010 18:07:34 +0000 (-0500)
Subject: jbd2: Fix a debug message in do_get_write_access()
X-Git-Tag: firefly_0821_release~7613^2~3055^2~37
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=cfef2c6a559b1e37cbc7e7c1b51f82d26abf24ec;p=firefly-linux-kernel-4.4.55.git

jbd2: Fix a debug message in do_get_write_access()

'buffer_head' should be 'journal_head'

This is a port of a patch which Namhyung Kim <namhyung@gmail.com> made
to fs/jbd to jbd2.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
---

diff --git a/fs/jbd2/transaction.c b/fs/jbd2/transaction.c
index 6bf0a242613e..10b5e3b1ca8b 100644
--- a/fs/jbd2/transaction.c
+++ b/fs/jbd2/transaction.c
@@ -589,7 +589,7 @@ do_get_write_access(handle_t *handle, struct journal_head *jh,
 	transaction = handle->h_transaction;
 	journal = transaction->t_journal;
 
-	jbd_debug(5, "buffer_head %p, force_copy %d\n", jh, force_copy);
+	jbd_debug(5, "journal_head %p, force_copy %d\n", jh, force_copy);
 
 	JBUFFER_TRACE(jh, "entry");
 repeat: