UBIFS: ensure orphan area head is initialized
authorAdrian Hunter <ext-adrian.hunter@nokia.com>
Mon, 26 Jan 2009 08:55:40 +0000 (10:55 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 26 Jan 2009 10:54:11 +0000 (12:54 +0200)
commit49d128aa60751a010640f4763d11577e2f508853
treee74af898443112bf1e323e019b6c1a74f7e5d415
parentb4978e949104844224ecf786170c9263efa601f3
UBIFS: ensure orphan area head is initialized

When mounting read-only the orphan area head is
not initialized.  It must be initialized when
remounting read/write, but it was not.  This patch
fixes that.

[Artem: sorry, added comment tweaking noise]
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
fs/ubifs/orphan.c
fs/ubifs/super.c
fs/ubifs/ubifs.h