mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Fix extfs chmod never succeeding.
This commit is contained in:
parent
3754dbd5cd
commit
3d6fc8438a
1 changed files with 1 additions and 0 deletions
|
@ -294,6 +294,7 @@ void HandleChangeMode(int chl, struct fsm_req_chmod* msg, Filesystem* fs)
|
|||
uint32_t new_mode = (old_mode & ~S_SETABLE) | (req_mode & S_SETABLE);
|
||||
inode->SetMode(new_mode);
|
||||
inode->Unref();
|
||||
RespondSuccess(chl);
|
||||
}
|
||||
|
||||
void HandleChangeOwner(int chl, struct fsm_req_chown* msg, Filesystem* fs)
|
||||
|
|
Loading…
Reference in a new issue