ref: 2654def5079f7e6dff66753c7b6c316a5610a20e
parent: 5929766aa488af70c827fe65e6d0fb703bfa4548
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Sat Nov 7 07:15:52 EST 2020
it is qidmask, not qid
--- a/ext4srv.c
+++ b/ext4srv.c
@@ -185,7 +185,7 @@
fprint(2, "inode: %s: %s\n", s, errno2s(r));
dir->mode = ext4_inode_get_mode(sb, &inode);
- dir->qid.path = a->p->qid.path | ino;
+ dir->qid.path = a->p->qidmask.path | ino;
dir->qid.vers = ext4_inode_get_generation(&inode);
t = ext4_inode_type(sb, &inode);
if(t & EXT4_INODE_MODE_DIRECTORY){
@@ -317,7 +317,7 @@
if((r = ext4_raw_inode_fill(s, &ino, &inode)) != 0)
goto error;
qid->type = 0;
- qid->path = a->p->qid.path | ino;
+ qid->path = a->p->qidmask.path | ino;
qid->vers = ext4_inode_get_generation(&inode);
t = ext4_inode_type(sb, &inode);
if(t & EXT4_INODE_MODE_DIRECTORY){