Don't error when trying to change root dir timestamp, instead just ignore it

This commit is contained in:
Sebastian Messmer 2018-04-04 21:21:21 -07:00
parent fc71242e25
commit 0f1345e64b
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ void CryNode::utimens(timespec lastAccessTime, timespec lastModificationTime) {
if (_parent == none) {
//We are the root direcory.
//TODO What should we do?
throw FuseErrnoException(EIO);
return;
}
(*_parent)->utimensChild(_blockId, lastAccessTime, lastModificationTime);
}