Erase verf key left from creation from ientries on every modification

This commit is contained in:
Vitaliy Filippov
2024-03-16 13:24:36 +03:00
parent 603dc68f11
commit 018e89f867
4 changed files with 8 additions and 0 deletions
+1
View File
@@ -283,6 +283,7 @@ static void touch_inode(nfs_proxy_t *proxy, inode_t ino, bool allow_cache)
{
auto ientry = attrs.object_items();
ientry["mtime"] = nfstime_now_str();
ientry.erase("verf");
// FIXME: Use "update" query
bool *found = new bool;
*found = true;