Implement async mtime change
This commit is contained in:
@@ -35,8 +35,9 @@ static void nfs_kv_continue_setattr(nfs_kv_setattr_state *st, int state)
|
||||
fprintf(stderr, "BUG: invalid state in nfs_kv_continue_setattr()");
|
||||
abort();
|
||||
}
|
||||
st->self->parent->kvfs->touch_queue.erase(st->ino);
|
||||
resume_0:
|
||||
kv_read_inode(st->self, st->ino, [st](int res, const std::string & value, json11::Json attrs)
|
||||
kv_read_inode(st->self->parent, st->ino, [st](int res, const std::string & value, json11::Json attrs)
|
||||
{
|
||||
st->res = res;
|
||||
st->ientry_text = value;
|
||||
|
||||
Reference in New Issue
Block a user