Changeset 8b65f38 in rtems


Ignore:
Timestamp:
Oct 7, 2012, 3:12:49 PM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
78f417f8
Parents:
39d7d51
Message:

Filesystem: Rename function

Rename rtems_filesystem_location_is_root() into
rtems_filesystem_location_is_instance_root() to distinguish this from
the file system root directory of the current task environment.

Location:
cpukit/libcsupport
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/include/rtems/libio_.h

    r39d7d51 r8b65f38  
    593593);
    594594
    595 static inline bool rtems_filesystem_location_is_root(
     595static inline bool rtems_filesystem_location_is_instance_root(
    596596  const rtems_filesystem_location_info_t *loc
    597597)
  • cpukit/libcsupport/src/mount.c

    r39d7d51 r8b65f38  
    116116    rtems_filesystem_eval_path_start( &ctx, target, eval_flags );
    117117
    118   if ( !rtems_filesystem_location_is_root( currentloc ) ) {
     118  if ( !rtems_filesystem_location_is_instance_root( currentloc ) ) {
    119119    rtems_filesystem_location_info_t targetloc;
    120120    rtems_filesystem_global_location_t *mt_point_node;
  • cpukit/libcsupport/src/rmdir.c

    r39d7d51 r8b65f38  
    3939
    4040  if ( type == RTEMS_FILESYSTEM_DIRECTORY ) {
    41     if ( !rtems_filesystem_location_is_root( currentloc ) ) {
     41    if ( !rtems_filesystem_location_is_instance_root( currentloc ) ) {
    4242      rv = (*ops->rmnod_h)( &parentloc, currentloc );
    4343    } else {
  • cpukit/libcsupport/src/unlink.c

    r39d7d51 r8b65f38  
    3636    );
    3737
    38   if ( !rtems_filesystem_location_is_root( currentloc ) ) {
     38  if ( !rtems_filesystem_location_is_instance_root( currentloc ) ) {
    3939    const rtems_filesystem_operations_table *ops = currentloc->mt_entry->ops;
    4040
  • cpukit/libcsupport/src/unmount.c

    r39d7d51 r8b65f38  
    4444  rtems_filesystem_mount_table_entry_t *mt_entry = currentloc->mt_entry;
    4545
    46   if ( rtems_filesystem_location_is_root( currentloc ) ) {
     46  if ( rtems_filesystem_location_is_instance_root( currentloc ) ) {
    4747    if ( !contains_root_or_current_directory( mt_entry ) ) {
    4848      const rtems_filesystem_operations_table *mt_point_ops =
Note: See TracChangeset for help on using the changeset viewer.