Support ctime

This commit is contained in:
Vitaliy Filippov
2024-03-16 13:24:36 +03:00
parent 4f4b2dab80
commit 87310ef7bb
7 changed files with 14 additions and 9 deletions
+1
View File
@@ -196,6 +196,7 @@ resume_5:
{
auto copy = st->ientry.object_items();
copy["nlink"] = st->ientry["nlink"].uint64_value()-1;
copy["ctime"] = nfstime_now_str();
st->self->parent->db->set(kv_inode_key(st->ino), json11::Json(copy).dump(), [st](int res)
{
st->res = res;