diff options
Diffstat (limited to 'cpukit/libcsupport/src/mount.c')
-rw-r--r-- | cpukit/libcsupport/src/mount.c | 18 |
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; } |