jbd2: fix BH_JWrite setting in checkpointing code
authorJan Kara <jack@suse.cz>
Wed, 14 Mar 2012 02:24:54 +0000 (22:24 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 14 Mar 2012 02:24:54 +0000 (22:24 -0400)
commit96c866782b5e0cbdcd8e4d921d0a893278430830
tree00a822f18c9583977c03918ccdcb766c707d8a06
parent79feb521a44705262d15cc819a4117a447b11ea7
jbd2: fix BH_JWrite setting in checkpointing code

BH_JWrite bit should be set when buffer is written to the journal. So
checkpointing shouldn't set this bit when writing out buffer. This didn't
cause any observable bug since BH_JWrite bit is used only for debugging
purposes but it's good to have this consistent.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/jbd2/checkpoint.c