summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/libfs/src/imfs/memfile.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/cpukit/libfs/src/imfs/memfile.c b/cpukit/libfs/src/imfs/memfile.c
index b467ae99aa..2b398f554e 100644
--- a/cpukit/libfs/src/imfs/memfile.c
+++ b/cpukit/libfs/src/imfs/memfile.c
@@ -174,7 +174,7 @@ int memfile_ftruncate(
*/
the_jnode->info.file.size = length;
- IMFS_update_atime( the_jnode );
+ IMFS_mtime_ctime_update(the_jnode);
return 0;
}
@@ -248,8 +248,7 @@ MEMFILE_STATIC int IMFS_memfile_extend(
*/
the_jnode->info.file.size = new_length;
- IMFS_update_ctime(the_jnode);
- IMFS_update_mtime(the_jnode);
+ IMFS_mtime_ctime_update(the_jnode);
return 0;
}