diff options
| author | Amir Goldstein <[email protected]> | 2023-10-11 14:07:03 +0000 |
|---|---|---|
| committer | Amir Goldstein <[email protected]> | 2023-10-14 06:24:11 +0000 |
| commit | 32db510708507f6133f496ff385cbd841d8f9098 (patch) | |
| tree | 11f002bc14bc735248a64ef174756f3ddf4f3c07 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | ovl: fix regression in parsing of mount options with escaped comma (diff) | |
| download | kernel-32db510708507f6133f496ff385cbd841d8f9098.tar.gz kernel-32db510708507f6133f496ff385cbd841d8f9098.zip | |
ovl: fix regression in showing lowerdir mount option
Before commit b36a5780cb44 ("ovl: modify layer parameter parsing"),
spaces and commas in lowerdir mount option value used to be escaped using
seq_show_option().
In current upstream, when lowerdir value has a space, it is not escaped
in /proc/mounts, e.g.:
none /mnt overlay rw,relatime,lowerdir=l l,upperdir=u,workdir=w 0 0
which results in broken output of the mount utility:
none on /mnt type overlay (rw,relatime,lowerdir=l)
Store the original lowerdir mount options before unescaping and show
them using the same escaping used for seq_show_option() in addition to
escaping the colon separator character.
Fixes: b36a5780cb44 ("ovl: modify layer parameter parsing")
Signed-off-by: Amir Goldstein <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
