From: Michael Vrable Date: Wed, 26 Aug 2009 22:47:38 +0000 (-0700) Subject: Update ctime/mtime on write. X-Git-Url: https://git.vrable.net/?a=commitdiff_plain;h=69c35a771a31ff0e6b2b59b640c90d5508064c45;p=bluesky.git Update ctime/mtime on write. --- diff --git a/inode.c b/inode.c index aa822b7..1c6a083 100644 --- 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); }