[U-Boot] [PATCH] UBIFS: add R/O compatibility

Wolfgang Denk wd at denx.de
Sat Apr 4 22:44:36 CEST 2009


Dear Stefan Roese,

In message <1238145674-12595-1-git-send-email-sr at denx.de> you wrote:
> From: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
> 
> From: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
> 
> 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 at nokia.com>
> Acked-by: Adrian Hunter <Adrian.Hunter at nokia.com>
> Signed-off-by: Stefan Roese <sr at denx.de>
> ---
>  fs/ubifs/sb.c          |   34 ++++++++++++++++++++++++++++------
>  fs/ubifs/super.c       |   14 ++++++++++++--
>  fs/ubifs/ubifs-media.h |   30 +++++++++++++++++++++++++++---
>  fs/ubifs/ubifs.h       |    4 ++++
>  4 files changed, 71 insertions(+), 11 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
To understand a program you must become  both  the  machine  and  the
program.


More information about the U-Boot mailing list