projects
/
bluesky.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19f316a
)
Update ctime/mtime on write.
author
Michael Vrable
<mvrable@cs.ucsd.edu>
Wed, 26 Aug 2009 22:47:38 +0000
(15:47 -0700)
committer
Michael Vrable
<mvrable@turin.ucsd.edu>
Wed, 26 Aug 2009 22:47:38 +0000
(15:47 -0700)
inode.c
patch
|
blob
|
history
diff --git
a/inode.c
b/inode.c
index
aa822b7
..
1c6a083
100644
(file)
--- a/
inode.c
+++ b/
inode.c
@@
-161,5
+161,5
@@
void bluesky_file_truncate(BlueSkyInode *inode, uint64_t size)
/* TODO: Zero out partial blocks if needed? */
inode->size = size;
-
inode->change_count++
;
+
bluesky_inode_update_ctime(inode, 1)
;
}