diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-05-14 16:55:41 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-05-15 10:01:43 +0200 |
commit | da154e14f69e909a71ab0479c02dd56158f66ee0 (patch) | |
tree | 942675feba74c0ec16d60566fa32458c305daa2e /cpukit/libcsupport/src/symlink.c | |
parent | Filesystem: Add const qualifier to lock/unlock (diff) | |
download | rtems-da154e14f69e909a71ab0479c02dd56158f66ee0.tar.bz2 |
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.
Diffstat (limited to 'cpukit/libcsupport/src/symlink.c')
-rw-r--r-- | cpukit/libcsupport/src/symlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/symlink.c b/cpukit/libcsupport/src/symlink.c index f49730df70..07ab87fc57 100644 --- a/cpukit/libcsupport/src/symlink.c +++ b/cpukit/libcsupport/src/symlink.c @@ -27,7 +27,7 @@ int symlink( const char *path1, const char *path2 ) const rtems_filesystem_location_info_t *currentloc = rtems_filesystem_eval_path_start( &ctx, path2, eval_flags ); - rv = (*currentloc->ops->symlink_h)( + rv = (*currentloc->mt_entry->ops->symlink_h)( currentloc, rtems_filesystem_eval_path_get_token( &ctx ), rtems_filesystem_eval_path_get_tokenlen( &ctx ), |