jbd: fix a bug of leaking jh->b_jcount
authorDing Dinghua <dingdinghua@nrchpc.ac.cn>
Thu, 26 May 2011 02:29:01 +0000 (10:29 +0800)
committerJan Kara <jack@suse.cz>
Sat, 25 Jun 2011 15:29:51 +0000 (17:29 +0200)
commitbd5c9e1854e13d0c62a3de29a5fbc15dd6a4d8c6
tree7ae5b23da18582e469353f5dee35efa93fb36ff0
parent05713082ab7690a2b22b044cfc867f346c39cd2d
jbd: fix a bug of leaking jh->b_jcount

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