forked from Imagelibrary/rtems
IMFS: Use IMFS_mtime_ctime_update()
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user