From 9c3fa30a11cf03041d05210a2ffbdaa9001999d4 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 28 Sep 2000 20:19:23 +0000 Subject: 2000-09-28 Joel Sherrill * 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. --- c/src/lib/libc/mount.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'c/src/lib/libc/mount.c') diff --git a/c/src/lib/libc/mount.c b/c/src/lib/libc/mount.c index 578404ecdc..f5861099f6 100644 --- a/c/src/lib/libc/mount.c +++ b/c/src/lib/libc/mount.c @@ -151,7 +151,7 @@ int mount( */ loc_to_free = &loc; - if ( loc.ops->node_type( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) { + if ( loc.ops->node_type_h( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) { errno = ENOTDIR; goto cleanup_and_bail; } @@ -183,12 +183,12 @@ int mount( * below the base file system */ - if ( !loc.ops->mount ){ + if ( !loc.ops->mount_h ){ errno = ENOTSUP; goto cleanup_and_bail; } - if ( loc.ops->mount( temp_mt_entry ) ) { + if ( loc.ops->mount_h( temp_mt_entry ) ) { goto cleanup_and_bail; } } else { @@ -209,12 +209,12 @@ int mount( temp_mt_entry->mt_point_node.mt_entry = NULL; } - if ( !fs_ops->fsmount_me ) { + if ( !fs_ops->fsmount_me_h ) { errno = ENOTSUP; goto cleanup_and_bail; } - if ( fs_ops->fsmount_me( temp_mt_entry ) ) + if ( fs_ops->fsmount_me_h( temp_mt_entry ) ) goto cleanup_and_bail; /* -- cgit v1.2.3