VFS: do not save device node for new regular files
The VFS/FS protocol does not require the file server to supply a special device node number in response to a REQ_CREATE request, as this call creates only regular files. Therefore, VFS should not erroneously save this piece of information from the REQ_CREATE reply either.
This commit is contained in:
parent
2773b5efb7
commit
7dd286e6b8
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ int req_create(
|
||||||
res->fsize = m.RES_FILE_SIZE_LO;
|
res->fsize = m.RES_FILE_SIZE_LO;
|
||||||
res->uid = m.RES_UID;
|
res->uid = m.RES_UID;
|
||||||
res->gid = m.RES_GID;
|
res->gid = m.RES_GID;
|
||||||
res->dev = m.RES_DEV;
|
res->dev = NO_DEV;
|
||||||
|
|
||||||
return(OK);
|
return(OK);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue