Don't error when trying to change root dir timestamp, instead just ignore it
This commit is contained in:
parent
fc71242e25
commit
0f1345e64b
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user