diff options
| author | Amir Goldstein <amir73il@gmail.com> | 2026-11-09 09:50:12 +0100 |
|---|---|---|
| committer | Amir Goldstein <amir73il@gmail.com> | 2026-11-10 15:47:33 +0100 |
| commit | 248503755b3cab89742edcc3cfd53adbcf7bfec2 (patch) | |
| tree | d282e2edcd495869991905401d6bb7a117413cbd /tools/perf/scripts/python/bin | |
| parent | fba955b070d13e2fdac097577ce3c6ffbeda4ea9 (diff) | |
ovl: report the requested redirect_dir mode in conflicting options
Since the redirect_dir mode is stored as an enum, "off" is translated to
"follow" or "nofollow" when parsing the option and redirect_dir=follow is
translated to "on" for a non-upper mount, so the errors about options
that conflict with an explicit redirect_dir= report a mode that the user
did not request.
Translate "off" when verifying the mount options instead of when parsing
them and report the requested mode in those errors.
Fixes: af5f2396b671 ("ovl: store enum redirect_mode in config instead of a string")
Cc: stable@vger.kernel.org
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
