summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2010-12-18 19:34:20 +0100
committerTheodore Ts'o <tytso@mit.edu>2010-12-18 19:34:20 +0100
commitae00b267f3827ba88309fb74bdf7527396f0acf9 (patch)
tree7313f6e374d1c4cc2a0b5a350978ab56a5256436
parentjbd2: use offset_in_page() instead of manual calculation (diff)
downloadlinux-ae00b267f3827ba88309fb74bdf7527396f0acf9.tar.xz
linux-ae00b267f3827ba88309fb74bdf7527396f0acf9.zip
jbd2: remove unnecessary goto statement
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>
-rw-r--r--fs/jbd2/transaction.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/jbd2/transaction.c b/fs/jbd2/transaction.c
index 80f9b2a3880b..394893242ae3 100644
--- a/fs/jbd2/transaction.c
+++ b/fs/jbd2/transaction.c
@@ -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);