From d7b1a89087ffd9dc6fbeb131f21de883f99dd7fb Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Tue, 5 Nov 2019 18:38:37 +0100 Subject: [PATCH] file-system session: use same dirent size as VFS This change allows for the conversion of directory entries in place (i.e., in the VFS server) and anticipates the potential future merge of both types into one. Issue #3547 --- repos/os/include/file_system_session/file_system_session.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repos/os/include/file_system_session/file_system_session.h b/repos/os/include/file_system_session/file_system_session.h index 1b5911b70..0d085a0c8 100644 --- a/repos/os/include/file_system_session/file_system_session.h +++ b/repos/os/include/file_system_session/file_system_session.h @@ -116,7 +116,7 @@ namespace File_system { */ enum Mode { STAT_ONLY = 0, READ_ONLY = 1, WRITE_ONLY = 2, READ_WRITE = 3 }; - enum { MAX_NAME_LEN = 256, MAX_PATH_LEN = 1024 }; + enum { MAX_NAME_LEN = 128, MAX_PATH_LEN = 1024 }; /** * File offset constant for reading or writing to the end of a file