Fix extfs chmod never succeeding.

This commit is contained in:
Jonas 'Sortie' Termansen 2015-01-31 15:03:09 +01:00
parent 3754dbd5cd
commit 3d6fc8438a
1 changed files with 1 additions and 0 deletions

View File

@ -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)