Skip to content
Commit a7a8f4a1 authored by Martin Kaistra's avatar Martin Kaistra Committed by Richard Weinberger
Browse files

ubifs: add option to specify version for new file systems



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.

Signed-off-by: default avatarMartin Kaistra <martin.kaistra@linutronix.de>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 92ed3019
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment