From 92119ed344c18f95b8b585e12874c8629c221e4a Mon Sep 17 00:00:00 2001 From: Jennifer Averett Date: Thu, 1 Jul 2010 15:12:38 +0000 Subject: 2010-07-01 Jennifer Averett * libcsupport/src/chdir.c, libcsupport/src/chmod.c, libcsupport/src/chown.c, libcsupport/src/close.c, libcsupport/src/eval.c, libcsupport/src/fchdir.c, libcsupport/src/fchmod.c, libcsupport/src/fchown.c, libcsupport/src/fcntl.c, libcsupport/src/fdatasync.c, libcsupport/src/freenode.c, libcsupport/src/fstat.c, libcsupport/src/fsync.c, libcsupport/src/ftruncate.c, libcsupport/src/ioctl.c, libcsupport/src/link.c, libcsupport/src/lseek.c, libcsupport/src/mknod.c, libcsupport/src/mount.c, libcsupport/src/open.c, libcsupport/src/read.c, libcsupport/src/readlink.c, libcsupport/src/readv.c, libcsupport/src/rmdir.c, libcsupport/src/stat.c, libcsupport/src/statvfs.c, libcsupport/src/symlink.c, libcsupport/src/unlink.c, libcsupport/src/unmount.c, libcsupport/src/write.c: Removed filesystem checks for NULL methods checks from the main posix rountines. These are now required to have at a miminum default routines in the tables. --- cpukit/libcsupport/src/eval.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'cpukit/libcsupport/src/eval.c') diff --git a/cpukit/libcsupport/src/eval.c b/cpukit/libcsupport/src/eval.c index da7acc45de..9ef8c735a5 100644 --- a/cpukit/libcsupport/src/eval.c +++ b/cpukit/libcsupport/src/eval.c @@ -42,9 +42,6 @@ int rtems_filesystem_evaluate_relative_path( if ( !pathloc ) rtems_set_errno_and_return_minus_one( EIO ); /* should never happen */ - if ( !pathloc->ops->evalpath_h ) - rtems_set_errno_and_return_minus_one( ENOTSUP ); - result = (*pathloc->ops->evalpath_h)( pathname, pathnamelen, flags, pathloc ); /* @@ -54,21 +51,11 @@ int rtems_filesystem_evaluate_relative_path( if ( (result == 0) && follow_link ) { - if ( !pathloc->ops->node_type_h ){ - rtems_filesystem_freenode( pathloc ); - rtems_set_errno_and_return_minus_one( ENOTSUP ); - } - type = (*pathloc->ops->node_type_h)( pathloc ); if ( ( type == RTEMS_FILESYSTEM_HARD_LINK ) || ( type == RTEMS_FILESYSTEM_SYM_LINK ) ) { - if ( !pathloc->ops->eval_link_h ){ - rtems_filesystem_freenode( pathloc ); - rtems_set_errno_and_return_minus_one( ENOTSUP ); - } - /* what to do with the valid node pathloc points to * if eval_link_h fails? * Let the FS implementation deal with this case. It -- cgit v1.2.3