Skip to contentSkip to conversation

UBIFS recovery fixes for 2.6.39

GIT PULL Artem Bityutskiy 1 participant 1 message May 2, 2011

lore
Share & tools
lore
#0 lore raw

Hi Linus,

here are 2 more UBIFS recovery failure fixes which I'd like to merge upstream and to -stable. These patches fix the situation when UBIFS fails to mount the file-system after a power cut. I've been testing the 2 patches extensively for a week, so I'm quite confident they do not break anything and I cannot reproduce the mount failures with them. Please, pull.

The following changes since commit 8e10cd74342c7f5ce259cceca36f6eba084f5d58:

Linux 2.6.39-rc5 (2011-04-26 20:48:50 -0700)

are available in the git repository at:
git://git.infradead.org/ubifs-2.6.git for-linus

Artem Bityutskiy (2):
UBIFS: do not free write-buffers when in R/O mode
UBIFS: seek journal heads to the latest bud in replay

 fs/ubifs/log.c    |   20 --------------------
 fs/ubifs/replay.c |   18 ++++++++++++------
 fs/ubifs/super.c  |   15 ++++-----------
 3 files changed, 16 insertions(+), 37 deletions(-)

Thanks,
Artem.