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:
David van Moolenbroek 2012-11-15 14:15:54 +00:00
parent 2773b5efb7
commit 7dd286e6b8

View file

@ -175,7 +175,7 @@ int req_create(
res->fsize = m.RES_FILE_SIZE_LO;
res->uid = m.RES_UID;
res->gid = m.RES_GID;
res->dev = m.RES_DEV;
res->dev = NO_DEV;
return(OK);
}