jbd2: fix a potential leak of a journal_head on an error path
authorDing Dinghua <dingdinghua@nrchpc.ac.cn>
Wed, 25 May 2011 21:43:48 +0000 (17:43 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 25 May 2011 21:43:48 +0000 (17:43 -0400)
commit3991b4008cb12f3abfe8dbb049b03d1cc39a8440
tree44a6de3b438813925a2992c68aed82f0f04ef27b
parent1b16da77f90328661fc7e556ad591f9ee6b7ef6a
jbd2: fix a potential leak of a journal_head on an error path

drop jh->b_jcount in error path

Signed-off-by: Ding Dinghua <dingdinghua@nrchpc.ac.cn>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/jbd2/transaction.c