aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-mpow.c
diff options
context:
space:
mode:
authorHongbo Li <[email protected]>2025-10-11 09:22:35 +0000
committerChristian Brauner <[email protected]>2025-10-21 12:22:42 +0000
commit2c2b67af5f5f77fc68261a137ad65dcfb8e52506 (patch)
tree323021ed457bfd2d90c7004da48944211cbdfc49 /lib/mpi/mpi-mpow.c
parentfs: Fix uninitialized 'offp' in statmount_string() (diff)
downloadkernel-2c2b67af5f5f77fc68261a137ad65dcfb8e52506.tar.gz
kernel-2c2b67af5f5f77fc68261a137ad65dcfb8e52506.zip
hostfs: Fix only passing host root in boot stage with new mount
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. Reported-by: Geoffrey Thorpe <[email protected]> Closes: https://lore.kernel.org/all/[email protected]/ Fixes: cd140ce9f611 ("hostfs: convert hostfs to use the new mount API") Signed-off-by: Hongbo Li <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mpow.c')
0 files changed, 0 insertions, 0 deletions