]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ovl: store and show the user provided lowerdir mount option
authorAmir Goldstein <amir73il@gmail.com>
Sat, 28 Oct 2023 08:25:30 +0000 (11:25 +0300)
committerAmir Goldstein <amir73il@gmail.com>
Mon, 30 Oct 2023 22:13:02 +0000 (00:13 +0200)
commit0cea4c097d97fdc89de488bd4202d0b087ccec58
treee72c18811f001f765bb421f6908e660a6b48692d
parentc835110b588a750650988ca5000913c3c60d246b
ovl: store and show the user provided lowerdir mount option

We are about to add new mount options for adding lowerdir one by one,
but those mount options will not support escaping.

For the existing case, where lowerdir mount option is provided as a colon
separated list, store the user provided (possibly escaped) string and
display it as is when showing the lowerdir mount option.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
fs/overlayfs/params.c
fs/overlayfs/params.h
fs/overlayfs/super.c