mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Fix userfs renaming between directories.
This commit is contained in:
parent
26c9b266b8
commit
1206113425
1 changed files with 2 additions and 2 deletions
|
@ -1247,8 +1247,8 @@ int Unode::rename_here(ioctx_t* /*ctx*/, Ref<Inode> from, const char* oldname,
|
|||
return -1;
|
||||
int ret = -1;
|
||||
struct fsm_req_rename msg;
|
||||
msg.olddirino = this->ino;
|
||||
msg.newdirino = from->ino;
|
||||
msg.olddirino = from->ino;
|
||||
msg.newdirino = this->ino;
|
||||
msg.oldnamelen = strlen(oldname);
|
||||
msg.newnamelen = strlen(newname);
|
||||
size_t extra = msg.oldnamelen + msg.newnamelen;
|
||||
|
|
Loading…
Reference in a new issue