]> git.baikalelectronics.ru Git - kernel.git/commit
UBIFS: amend ubifs_recover_leb interface
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Thu, 26 May 2011 05:36:52 +0000 (08:36 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 1 Jun 2011 09:29:06 +0000 (12:29 +0300)
commitaa56ecef19bd33fc5e0b154921453f897eda3d36
treef94cd590448a23c2ba7c6566dcbeb72eb3f3dd1d
parent6b00865bea65668d864c2748dcd1061187b84ad7
UBIFS: amend ubifs_recover_leb interface

Instead of passing "grouped" parameter to 'ubifs_recover_leb()' which tells
whether the nodes are grouped in the LEB to recover, pass the journal head
number and let 'ubifs_recover_leb()' look at the journal head's 'grouped' flag.

This patch is a preparation to a further fix where we'll need to know the
journal head number for other purposes.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
fs/ubifs/orphan.c
fs/ubifs/recovery.c
fs/ubifs/replay.c
fs/ubifs/ubifs.h