1.1 --- a/libfsserver/lib/files/ext2_file_opener.cc Sat Aug 07 23:19:20 2021 +0200
1.2 +++ b/libfsserver/lib/files/ext2_file_opener.cc Sun Aug 08 23:12:34 2021 +0200
1.3 @@ -118,8 +118,12 @@
1.4
1.5 // NOTE: This is mostly the same as the HostFileOpener implementation.
1.6
1.7 -long Ext2FileOpener::get_directory(const char *path, flags_t flags, fileid_t fileid, offset_t *size, l4_cap_idx_t *cap)
1.8 +long Ext2FileOpener::get_directory(const char *path, flags_t flags,
1.9 + fileid_t fileid, offset_t *size,
1.10 + l4_cap_idx_t *cap, object_flags_t *object_flags)
1.11 {
1.12 + /* The file identifier is used to obtain the directory. */
1.13 +
1.14 (void) path; (void) flags;
1.15
1.16 file_t *reader, *writer;
1.17 @@ -134,6 +138,7 @@
1.18
1.19 *size = reader->size;
1.20 *cap = reader->ref;
1.21 + *object_flags = 0; /* does not support mmap, has no fixed size */
1.22
1.23 /* Spawn a independent thread for reading the directory details and writing
1.24 them to the pipe. */