Commit 4d7eb895 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] [err1-10] journal_extend() locking fix

From the new Stanford locking checker
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 0d39ac56
......@@ -320,7 +320,7 @@ int journal_extend(handle_t *handle, int nblocks)
result = -EIO;
if (is_handle_aborted(handle))
goto error_out;
goto out;
result = 1;
......@@ -357,6 +357,7 @@ int journal_extend(handle_t *handle, int nblocks)
spin_unlock(&transaction->t_handle_lock);
error_out:
spin_unlock(&journal->j_state_lock);
out:
return result;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment