Some initial work to support delayed flushing of data.
[bluesky.git] / bluesky / inode.c
index e0d237b..0c745e8 100644 (file)
@@ -37,6 +37,9 @@ void bluesky_inode_update_ctime(BlueSkyInode *inode, gboolean update_mtime)
     inode->ctime = now;
     if (update_mtime)
         inode->mtime = now;
+
+    if (inode->change_time == 0)
+        inode->change_time = now;
 }
 
 /* Unfortunately a glib hash table is only guaranteed to be able to store