Skip to contentSkip to conversation

ocfs2: fix some inconsistency problems caused by jbd2_journal_restart()

PATCH New Xue jiufei 1 participant 1 message Apr 27, 2015 OCFS2

lore
Share & tools
lore

Xue jiufei

author
#0 lore raw

cover ocfs2: fix some inconsistency problems caused by jbd2_journal_restart()

I found that function jbd2_journal_restart() is called some places in ocfs2 without keeping things consistently before. However, jbd2_journal_restart() may commit the handle's transaction and restart another one. If the first transaction is committed successfully while another not, it may cause filesystem inconsistency or read only. This is an effort to fix this kind of problems.

Any comments are appreciated, thanks!