summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2025-11-19 20:48:38 +0100
committerChristian Brauner <brauner@kernel.org>2025-11-19 21:58:24 +0100
commita1da8401987e671ac18720eb26c7ee52e79e3d4c (patch)
tree618ceb6f2cde9d3073bae72063d42dfafa0989af /scripts/lib
parentfb9f31fe9f7b3cecf1a59427a7395c3cf1d26706 (diff)
ovl: refactor ovl_rename()
Extract the code that runs under overridden credentials into a separate ovl_rename_upper() helper function and the code that runs before/after to ovl_rename_start/end(). Error handling is simplified. The helpers returns errors directly instead of using goto labels. Signed-off-by: Amir Goldstein <amir73il@gmail.com> Link: https://patch.msgid.link/20251117-work-ovl-cred-guard-v4-34-b31603935724@kernel.org Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions