projects
/
bluesky.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f57fa12
)
Inodes are clean immediately after being read from storage.
author
Michael Vrable
<mvrable@cs.ucsd.edu>
Mon, 25 Jan 2010 18:18:17 +0000
(10:18 -0800)
committer
Michael Vrable
<mvrable@cs.ucsd.edu>
Mon, 25 Jan 2010 18:18:17 +0000
(10:18 -0800)
bluesky/serialize.c
patch
|
blob
|
history
diff --git
a/bluesky/serialize.c
b/bluesky/serialize.c
index
6f31dcb
..
e3abc14
100644
(file)
--- 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);