]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:19:18 +0000 (18:19 -0400)
commit26532aeb3cec005d85b99298430077cb44858490
tree0187cb65ee76d2a88373c0e40a96b15b55987dc6
parent1fff0482186bf82e0b55156360c1f2c7f67de717
ovl: store and show the user provided lowerdir mount option

[ Upstream commit 0cea4c097d97fdc89de488bd4202d0b087ccec58 ]

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>
Stable-dep-of: 2824083db76c ("ovl: Always reject mounting over case-insensitive directories")
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/overlayfs/params.c
fs/overlayfs/params.h
fs/overlayfs/super.c