[PATCH] hostfs: Fix only passing host root in boot stage with new mount
Christian Brauner
brauner at kernel.org
Tue Oct 21 05:16:46 PDT 2025
On Sat, 11 Oct 2025 09:22:35 +0000, Hongbo Li wrote:
> In the old mount proceedure, hostfs could only pass root directory during
> boot. This is because it constructed the root directory using the @root_ino
> event without any mount options. However, when using it with the new mount
> API, this step is no longer triggered. As a result, if users mounts without
> specifying any mount options, the @host_root_path remains uninitialized. To
> prevent this issue, the @host_root_path should be initialized at the time
> of allocation.
>
> [...]
Applied to the vfs.fixes branch of the vfs/vfs.git tree.
Patches in the vfs.fixes branch should appear in linux-next soon.
Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.
It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.
Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs.fixes
[1/1] hostfs: Fix only passing host root in boot stage with new mount
https://git.kernel.org/vfs/vfs/c/590a4c70008c
More information about the linux-um
mailing list