projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0571308
)
jbd: fix a bug of leaking jh->b_jcount
author
Ding Dinghua
<dingdinghua@nrchpc.ac.cn>
Thu, 26 May 2011 02:29:01 +0000
(10:29 +0800)
committer
Jan Kara
<jack@suse.cz>
Sat, 25 Jun 2011 15:29:51 +0000
(17:29 +0200)
journal_get_create_access should drop jh->b_jcount in error handling path
Signed-off-by: Ding Dinghua <dingdinghua@nrchpc.ac.cn>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/jbd/transaction.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/jbd/transaction.c
b/fs/jbd/transaction.c
index 83a661890868182dc8e8877b6cf583b7932e2388..dc39efd05d542553ea65fe861e26443433b39dfa 100644
(file)
--- a/
fs/jbd/transaction.c
+++ b/
fs/jbd/transaction.c
@@
-844,8
+844,8
@@
int journal_get_create_access(handle_t *handle, struct buffer_head *bh)
*/
JBUFFER_TRACE(jh, "cancelling revoke");
journal_cancel_revoke(handle, jh);
- journal_put_journal_head(jh);
out:
+ journal_put_journal_head(jh);
return err;
}