]> git.baikalelectronics.ru Git - uboot.git/commit
UBIFS: add R/O compatibility
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 27 Mar 2009 09:21:14 +0000 (10:21 +0100)
committerWolfgang Denk <wd@denx.de>
Sat, 4 Apr 2009 20:44:22 +0000 (22:44 +0200)
commitfebd7e4174e54579c9aa165c85c519fe5288f9d2
tree77824e8f6861c68b4151824d2e25cfb1216ee784
parent852dbfdd56f68eb67d138b306a64e4de58dabb91
UBIFS: add R/O compatibility

Now UBIFS is supported by u-boot. If we ever decide to change the
media format, then people will have to upgrade their u-boots to
mount new format images. However, very often it is possible to
preserve R/O forward-compatibility, even though the write
forward-compatibility is not preserved.

This patch introduces a new super-block field which stores the
R/O compatibility version.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Acked-by: Adrian Hunter <Adrian.Hunter@nokia.com>
Signed-off-by: Stefan Roese <sr@denx.de>
fs/ubifs/sb.c
fs/ubifs/super.c
fs/ubifs/ubifs-media.h
fs/ubifs/ubifs.h