[rtems commit] IMFS: Use IMFS_mtime_ctime_update()
Sebastian Huber
sebh at rtems.org
Sun Oct 27 17:44:32 UTC 2013
Module: rtems
Branch: master
Commit: 73e734535bc47db3e9471c84c15e4aa5f5185c0c
Changeset: http://git.rtems.org/rtems/commit/?id=73e734535bc47db3e9471c84c15e4aa5f5185c0c
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Sun Oct 27 18:49:01 2013 +0100
IMFS: Use IMFS_mtime_ctime_update()
---
cpukit/libfs/src/imfs/imfs_make_generic_node.c | 3 +--
cpukit/libfs/src/imfs/imfs_mknod.c | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/cpukit/libfs/src/imfs/imfs_make_generic_node.c b/cpukit/libfs/src/imfs/imfs_make_generic_node.c
index 7df453a..9737b6a 100644
--- a/cpukit/libfs/src/imfs/imfs_make_generic_node.c
+++ b/cpukit/libfs/src/imfs/imfs_make_generic_node.c
@@ -96,8 +96,7 @@ int IMFS_make_generic_node(
if ( new_node != NULL ) {
IMFS_jnode_t *parent = currentloc->node_access;
- IMFS_update_ctime( parent );
- IMFS_update_mtime( parent );
+ IMFS_mtime_ctime_update( parent );
} else {
rv = -1;
}
diff --git a/cpukit/libfs/src/imfs/imfs_mknod.c b/cpukit/libfs/src/imfs/imfs_mknod.c
index d269d61..21d4ab0 100644
--- a/cpukit/libfs/src/imfs/imfs_mknod.c
+++ b/cpukit/libfs/src/imfs/imfs_mknod.c
@@ -66,8 +66,7 @@ int IMFS_mknod(
if ( new_node != NULL ) {
IMFS_jnode_t *parent = parentloc->node_access;
- IMFS_update_ctime( parent );
- IMFS_update_mtime( parent );
+ IMFS_mtime_ctime_update( parent );
} else {
rv = -1;
}
More information about the vc
mailing list