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/unmount.c

    r7666afc rda154e14  
    3333
    3434  if ( rtems_filesystem_location_is_root( currentloc ) ) {
    35     rv = (*mt_entry->mt_point_node->location.ops->unmount_h)( mt_entry );
     35    const rtems_filesystem_operations_table *mt_point_ops =
     36      mt_entry->mt_point_node->location.mt_entry->ops;
     37
     38    rv = (*mt_point_ops->unmount_h)( mt_entry );
    3639    if ( rv == 0 ) {
    3740      rtems_filesystem_mt_entry_declare_lock_context( lock_context );
Note: See TracChangeset for help on using the changeset viewer.