jbd2: remove unnecessary goto statement
authorTheodore Ts'o <[email protected]>
Sat, 18 Dec 2010 18:34:20 +0000 (13:34 -0500)
committerTheodore Ts'o <[email protected]>
Sat, 18 Dec 2010 18:34:20 +0000 (13:34 -0500)
This is a port to jbd2 of a patch which Namhyung Kim <[email protected]>
originally made to fs/jbd.

Signed-off-by: "Theodore Ts'o" <[email protected]>
fs/jbd2/transaction.c

index 80f9b2a3880b1be1af7b9138f5dfdea93ff3a6bd..394893242ae315f941436d52c6649e8aaada3c72 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);