summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/imfs/memfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libfs/src/imfs/memfile.c')
-rw-r--r--cpukit/libfs/src/imfs/memfile.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/libfs/src/imfs/memfile.c b/cpukit/libfs/src/imfs/memfile.c
index 56722a186c..069d352606 100644
--- a/cpukit/libfs/src/imfs/memfile.c
+++ b/cpukit/libfs/src/imfs/memfile.c
@@ -326,6 +326,9 @@ MEMFILE_STATIC int IMFS_memfile_extend(
* Set the new length of the file.
*/
the_jnode->info.file.size = new_length;
+
+ IMFS_update_ctime(the_jnode);
+ IMFS_update_mtime(the_jnode);
return 0;
}