aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorHongbo Li <[email protected]>2024-07-25 06:51:30 +0000
committerChristian Brauner <[email protected]>2024-07-27 07:56:33 +0000
commitef9ca17ca458ac7253ae71b552e601e49311fc48 (patch)
tree4d347fb35c049e129d15ff921345da6cd308ff07 /scripts/generate_rust_analyzer.py
parentfs: don't allow non-init s_user_ns for filesystems without FS_USERNS_MOUNT (diff)
downloadkernel-ef9ca17ca458ac7253ae71b552e601e49311fc48.tar.gz
kernel-ef9ca17ca458ac7253ae71b552e601e49311fc48.zip
hostfs: fix the host directory parse when mounting.
hostfs not keep the host directory when mounting. When the host directory is none (default), fc->source is used as the host root directory, and this is wrong. Here we use `parse_monolithic` to handle the old mount path for parsing the root directory. For new mount path, The `parse_param` is used for the host directory parse. Reported-and-tested-by: Maciej Żenczykowski <[email protected]> Fixes: cd140ce9f611 ("hostfs: convert hostfs to use the new mount API") Link: https://lore.kernel.org/all/CANP3RGceNzwdb7w=vPf5=7BCid5HVQDmz1K5kC9JG42+HVAh_g@mail.gmail.com/ Cc: Christian Brauner <[email protected]> Signed-off-by: Hongbo Li <[email protected]> Link: https://lore.kernel.org/r/[email protected] [brauner: minor fixes] Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions