diff options
| author | Eric Sandeen <sandeen@redhat.com> | 2025-12-03 01:34:51 +0300 |
|---|---|---|
| committer | Dominique Martinet <asmadeus@codewreck.org> | 2025-12-05 15:54:05 +0300 |
| commit | 3e281113f871d7f9c69ca55a4d806a72180b7e8a (patch) | |
| tree | 73ff0534d7ea8959a009cc242240646f42d06927 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | |
| parent | f0445613314f474c1a0ec6fa8a5cd153a618f1b6 (diff) | |
| download | linux-3e281113f871d7f9c69ca55a4d806a72180b7e8a.tar.xz | |
9p: fix new mount API cache option handling
After commit 4eb3117888a92, 9p needs to be able to accept numerical
cache= mount options as well as the string "shortcuts" because the option
is printed numerically in /proc/mounts rather than by string. This was
missed in the mount API conversion, which used an enum for the shortcuts
and therefore could not handle a numeric equivalent as an argument
to the cache option.
Fix this by removing the enum and reverting to the slightly more
open-coded option handling for Opt_cache, with the reinstated
get_cache_mode() helper.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Message-ID: <48cdeec9-5bb9-4c7a-a203-39bb8e0ef443@redhat.com>
Tested-by: Remi Pommarel <repk@triplefau.lt>
Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions
