Skip to content

Commit

Permalink
jbd2: Fix a debug message in do_get_write_access()
Browse files Browse the repository at this point in the history
'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>
  • Loading branch information
Theodore Ts'o committed Dec 18, 2010
1 parent 670be5a commit cfef2c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/jbd2/transaction.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit cfef2c6

Please sign in to comment.