[PATCH] ubifs: add option to specify version for new file systems

Richard Weinberger richard.weinberger at gmail.com
Tue Jul 7 08:00:09 EDT 2020


On Tue, Jul 7, 2020 at 12:38 PM Martin Kaistra
<martin.kaistra at linutronix.de> wrote:
>
> Instead of creating ubifs file systems with UBIFS_FORMAT_VERSION
> by default, add a module parameter ubifs.default_version to allow
> the user to specify the desired version. Valid values are 4 to
> UBIFS_FORMAT_VERSION (currently 5).
>
> This way, one can for example create a file system with version 4
> on kernel 4.19 which can still be mounted rw when downgrading to
> kernel 4.9.

Looks good, nice improvement!
I'll queue it for the next merge window.

-- 
Thanks,
//richard



More information about the linux-mtd mailing list