nuttx/fs/hostfs
Lingao Meng 6fa47d6de4 fs/hostfs: Use configured path length
hostfs keeps its own HOSTFS_MAX_PATH wrapper for internal buffers, but
it should not hard-code a path length separate from the system path
configuration.

Define HOSTFS_MAX_PATH from PATH_MAX instead. PATH_MAX is backed by
CONFIG_PATH_MAX, whose default remains 256, so the default hostfs
behavior does not change while configurations that choose a larger path
limit are honored consistently.

Assisted-by: Claude:Claude-Fable-5
Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
2026-07-23 15:34:02 +08:00
..
CMakeLists.txt fs: migrate to SPDX identifier 2024-11-06 01:58:54 +08:00
hostfs.c fs/hostfs: Fix long root path construction 2026-07-23 15:34:02 +08:00
hostfs.h fs/hostfs: Use configured path length 2026-07-23 15:34:02 +08:00
Kconfig style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
Make.defs fs: migrate to SPDX identifier 2024-11-06 01:58:54 +08:00