summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2010-12-18 13:34:20 -0500
committerTheodore Ts'o <tytso@mit.edu>2010-12-18 13:34:20 -0500
commitae00b267f3827ba88309fb74bdf7527396f0acf9 (patch)
tree7313f6e374d1c4cc2a0b5a350978ab56a5256436 /fs
parenta1dd53318409ed6a27a8ce4fecf52e1326a100c0 (diff)
downloadlwn-ae00b267f3827ba88309fb74bdf7527396f0acf9.tar.gz
lwn-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>
Diffstat (limited to 'fs')
-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);