nuttx/fs/smartfs
Xiang Xiao 6161c73639 include/fcntl.h: remove O_RDOK/O_WROK aliases
O_RDOK and O_WROK are non-standard aliases for O_RDONLY and O_WRONLY
respectively.  Having two names for the same flag creates confusion,
especially when aligning the flag values with Linux.  Remove the
aliases and replace all uses with the standard O_RDONLY/O_WRONLY.

No functional change — O_RDOK was defined as O_RDONLY and O_WROK as
O_WRONLY, so the replacement is a pure text substitution.

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-06-28 09:10:11 -03:00
..
CMakeLists.txt fs: migrate to SPDX identifier 2024-11-06 01:58:54 +08:00
Kconfig
Make.defs fs: migrate to SPDX identifier 2024-11-06 01:58:54 +08:00
smartfs.h fs: migrate to SPDX identifier 2024-11-06 01:58:54 +08:00
smartfs_procfs.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
smartfs_smart.c include/fcntl.h: remove O_RDOK/O_WROK aliases 2026-06-28 09:10:11 -03:00
smartfs_utils.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00