jbd2: remove unnecessary goto statement
authorTheodore Ts'o <tytso@mit.edu>
Sat, 18 Dec 2010 18:34:20 +0000 (13:34 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 18 Dec 2010 18:34:20 +0000 (13:34 -0500)
This is a port to jbd2 of a patch which Namhyung Kim <namhyung@gmail.com>
originally made to fs/jbd.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/jbd2/transaction.c

index 80f9b2a..3948932 100644 (file)
@@ -340,9 +340,7 @@ handle_t *jbd2__journal_start(journal_t *journal, int nblocks, int gfp_mask)
                jbd2_free_handle(handle);
                current->journal_info = NULL;
                handle = ERR_PTR(err);
-               goto out;
        }
-out:
        return handle;
 }
 EXPORT_SYMBOL(jbd2__journal_start);