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
This commit is contained in:
Norman Feske 2019-11-05 18:38:37 +01:00 committed by Christian Helmuth
parent c50252fb35
commit d7b1a89087

View File

@ -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