]> git.karo-electronics.de Git - karo-tx-linux.git/commit
jbd2: fix duplicate debug label for phase 2
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 13 Jun 2013 02:56:35 +0000 (22:56 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 13 Jun 2013 02:56:35 +0000 (22:56 -0400)
commitd94a19f4ebe773cee135cd08ee7846bf84119fbc
tree44d0dc0c3a003a6a72031955dbeb2ea6d56c7456
parent69f40bdaa083b0c3f5c7e11f3639af0163c80442
jbd2: fix duplicate debug label for phase 2

Currently we see this output:

  $git grep phase fs/jbd2
  fs/jbd2/commit.c:       jbd_debug(3, "JBD2: commit phase 1\n");
  fs/jbd2/commit.c:       jbd_debug(3, "JBD2: commit phase 2\n");
  fs/jbd2/commit.c:       jbd_debug(3, "JBD2: commit phase 2\n");
  fs/jbd2/commit.c:       jbd_debug(3, "JBD2: commit phase 3\n");
  fs/jbd2/commit.c:       jbd_debug(3, "JBD2: commit phase 4\n");
  [...]

There is clearly a duplicate label for phase 2, and they are
both active (i.e. not in #if ... #else block).  Rename them to
be "2a" and "2b" so the debug output is unambiguous.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/jbd2/commit.c