summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/mount.c
diff options
context:
space:
mode:
authorJennifer Averett <Jennifer.Averett@OARcorp.com>2010-07-01 15:12:38 +0000
committerJennifer Averett <Jennifer.Averett@OARcorp.com>2010-07-01 15:12:38 +0000
commit92119ed344c18f95b8b585e12874c8629c221e4a (patch)
treeec0137216c214e1f879041a6717253d83ebd2e0b /cpukit/libcsupport/src/mount.c
parent2010-07-01 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-92119ed344c18f95b8b585e12874c8629c221e4a.tar.bz2
2010-07-01 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* 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.
Diffstat (limited to 'cpukit/libcsupport/src/mount.c')
-rw-r--r--cpukit/libcsupport/src/mount.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/cpukit/libcsupport/src/mount.c b/cpukit/libcsupport/src/mount.c
index 979382e8a2..29c14077e8 100644
--- a/cpukit/libcsupport/src/mount.c
+++ b/cpukit/libcsupport/src/mount.c
@@ -176,15 +176,6 @@ int mount(
loc_to_free = &loc;
/*
- * Test for node_type_h
- */
-
- if (!loc.ops->node_type_h) {
- errno = ENOTSUP;
- goto cleanup_and_bail;
- }
-
- /*
* Test to see if it is a directory
*/
@@ -220,11 +211,6 @@ int mount(
* below the base file system
*/
- if ( !loc.ops->mount_h ){
- errno = ENOTSUP;
- goto cleanup_and_bail;
- }
-
if ( loc.ops->mount_h( mt_entry ) ) {
goto cleanup_and_bail;
}
@@ -248,9 +234,7 @@ int mount(
/*
* Try to undo the mount operation
*/
- if ( loc.ops->unmount_h ) {
- loc.ops->unmount_h( mt_entry );
- }
+ loc.ops->unmount_h( mt_entry );
goto cleanup_and_bail;
}