Changeset da154e14 in rtems for cpukit/libcsupport/src/chroot.c


Ignore:
Timestamp:
May 14, 2012, 2:55:41 PM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
0a95800a, a7d1992c
Parents:
7666afc
git-author:
Sebastian Huber <sebastian.huber@…> (05/14/12 14:55:41)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/15/12 08:01:43)
Message:

Filesystem: Move operations to mount table entry

The scope of the file system operations is the file system instance.
The scope of the file system node handlers is the file location. The
benefit of moving the operations to the mount table entry is a size
reduction of the file location (rtems_filesystem_location_info_t). The
code size is slightly increased due to additional load instructions.

Restructure rtems_filesystem_mount_table_entry_t to improve cache
efficiency.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/src/chroot.c

    r7666afc rda154e14  
    5050      rtems_filesystem_global_location_obtain( &new_current_loc );
    5151    rtems_filesystem_node_types_t type =
    52       (*new_root_loc->location.ops->node_type_h)( &new_root_loc->location );
     52      (*new_root_loc->location.mt_entry->ops->node_type_h)(
     53        &new_root_loc->location
     54      );
    5355
    5456    if ( type == RTEMS_FILESYSTEM_DIRECTORY ) {
Note: See TracChangeset for help on using the changeset viewer.