From: Michael Vrable Date: Mon, 25 Jan 2010 18:18:17 +0000 (-0800) Subject: Inodes are clean immediately after being read from storage. X-Git-Url: https://git.vrable.net/?a=commitdiff_plain;h=365e57979887238629402d8c0b2c2cae65e852fe;p=bluesky.git Inodes are clean immediately after being read from storage. --- diff --git a/bluesky/serialize.c b/bluesky/serialize.c index 6f31dcb..e3abc14 100644 --- a/bluesky/serialize.c +++ b/bluesky/serialize.c @@ -152,6 +152,7 @@ BlueSkyInode *bluesky_deserialize_inode(BlueSkyFS *fs, const gchar *buf) inode->gid = GUINT32_FROM_LE(raw->gid); inode->nlink = GUINT32_FROM_LE(raw->nlink); inode->change_count = GUINT64_FROM_LE(raw->change_count); + inode->change_commit = inode->change_count; inode->atime = GINT64_FROM_LE(raw->atime); inode->ctime = GINT64_FROM_LE(raw->ctime); inode->mtime = GINT64_FROM_LE(raw->mtime);