projects
/
bluesky.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4db2344
)
Do not fill in a non-zero inode change_count until the inode is loaded.
author
Michael Vrable
<mvrable@cs.ucsd.edu>
Tue, 30 Mar 2010 03:36:03 +0000
(20:36 -0700)
committer
Michael Vrable
<mvrable@cs.ucsd.edu>
Tue, 30 Mar 2010 03:36:03 +0000
(20:36 -0700)
bluesky/inode.c
patch
|
blob
|
history
diff --git
a/bluesky/inode.c
b/bluesky/inode.c
index
40531cd
..
1c89c29
100644
(file)
--- a/
bluesky/inode.c
+++ b/
bluesky/inode.c
@@
-366,6
+366,7
@@
void bluesky_inode_fetch(BlueSkyFS *fs, uint64_t inum)
sprintf(key, "inode-%016"PRIx64, inum);
BlueSkyInode *inode = bluesky_new_inode(inum, fs, BLUESKY_PENDING);
+ i->change_count = 0;
bluesky_inode_ref(inode); // Extra ref held by fetching process
g_mutex_lock(inode->lock);
bluesky_insert_inode(fs, inode);