]> bbs.cooldavid.org Git - net-next-2.6.git/commit
UBIFS: add R/O compatibility
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Thu, 26 Mar 2009 10:51:21 +0000 (12:51 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Thu, 26 Mar 2009 14:36:20 +0000 (16:36 +0200)
commit963f0cf6d116d83c558a8efe9045c1c5ad7aed34
tree43937f0d742bfac7dfc1a00bae8f72e98dc87425
parentfcabb3479e2b15abfd2d2ef5363295f16e98b2d7
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>
fs/ubifs/sb.c
fs/ubifs/super.c
fs/ubifs/ubifs-media.h
fs/ubifs/ubifs.h