summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/link.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-09-28 20:19:23 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-09-28 20:19:23 +0000
commit9c3fa30a11cf03041d05210a2ffbdaa9001999d4 (patch)
tree1daac572dcf46bd8b85284d6526398b3fd93d65e /cpukit/libcsupport/src/link.c
parent2000-09-28 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-9c3fa30a11cf03041d05210a2ffbdaa9001999d4.tar.bz2
2000-09-28 Joel Sherrill <joel@OARcorp.com>
* libc/libio.h (rtems_filesystem_file_handlers_r, rtems_filesystem_operations_table): Added _h to all structure fields to indicate they are "handlers". * libc/libio_.h, libc/chdir.c, libc/chmod.c, libc/chown.c, libc/close.c, libc/eval.c, libc/fchdir.c, libc/fchmod.c, libc/fcntl.c, libc/fdatasync.c, libc/fstat.c, libc/fsync.c, libc/ftruncate.c, libc/getdents.c, libc/imfs_eval.c, libc/imfs_unlink.c, libc/ioctl.c, libc/ioman.c, libc/link.c, libc/lseek.c, libc/mknod.c, libc/mount.c, libc/open.c, libc/read.c, libc/readlink.c, libc/rmdir.c, libc/stat.c, libc/symlink.c, libc/unlink.c, libc/unmount.c, libc/utime.c, libc/write.c: Modified to reflect above name change.
Diffstat (limited to 'cpukit/libcsupport/src/link.c')
-rw-r--r--cpukit/libcsupport/src/link.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/libcsupport/src/link.c b/cpukit/libcsupport/src/link.c
index 03bdaee343..61bcd45e44 100644
--- a/cpukit/libcsupport/src/link.c
+++ b/cpukit/libcsupport/src/link.c
@@ -42,13 +42,13 @@ int link(
rtems_filesystem_get_start_loc( new, &i, &parent_loc );
- if ( !parent_loc.ops->evalformake ) {
+ if ( !parent_loc.ops->evalformake_h ) {
rtems_filesystem_freenode( &existing_loc );
rtems_filesystem_freenode( &parent_loc );
set_errno_and_return_minus_one( ENOTSUP );
}
- result = (*parent_loc.ops->evalformake)( &new[i], &parent_loc, &name_start );
+ result = (*parent_loc.ops->evalformake_h)( &new[i], &parent_loc, &name_start );
if ( result != 0 ) {
rtems_filesystem_freenode( &existing_loc );
rtems_filesystem_freenode( &parent_loc );
@@ -66,13 +66,13 @@ int link(
set_errno_and_return_minus_one( EXDEV );
}
- if ( !parent_loc.ops->link ) {
+ if ( !parent_loc.ops->link_h ) {
rtems_filesystem_freenode( &existing_loc );
rtems_filesystem_freenode( &parent_loc );
set_errno_and_return_minus_one( ENOTSUP );
}
- result = (*parent_loc.ops->link)( &existing_loc, &parent_loc, name_start );
+ result = (*parent_loc.ops->link_h)( &existing_loc, &parent_loc, name_start );
rtems_filesystem_freenode( &existing_loc );
rtems_filesystem_freenode( &parent_loc );