1.1 --- a/libfsserver/lib/files/ext2_filesystem.cc Sat Jul 24 18:55:21 2021 +0200
1.2 +++ b/libfsserver/lib/files/ext2_filesystem.cc Sun Jul 25 00:54:12 2021 +0200
1.3 @@ -29,7 +29,8 @@
1.4 long Ext2Filesystem::open_for_user(sys_uid_t uid, sys_gid_t gid,
1.5 sys_mode_t umask, l4_cap_idx_t *ref)
1.6 {
1.7 - Resource *resource = new Ext2FileOpener(this, _fs, uid, gid, umask);
1.8 + user_t user = (user_t) {uid, gid, umask};
1.9 + Resource *resource = new Ext2FileOpener(this, _fs, user);
1.10
1.11 /* Complete the initialisation and start a server in a new thread.
1.12 If the thread does not start, the resource will be finalised. */