summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-02-21 15:52:55 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-03-13 12:24:15 +0100
commite00cca9b74acb6ec67cc9696cd0a005aa3d991c3 (patch)
tree340910f0585a73cfb6afb693a88fad2470c9acf3 /cpukit/libfs
parentFilesystem: Rename defines (diff)
downloadrtems-e00cca9b74acb6ec67cc9696cd0a005aa3d991c3.tar.bz2
IMFS: Do not check for unsupported types
Allow creation of nodes with an unsupported type. Later the usage of such nodes will return an error status.
Diffstat (limited to 'cpukit/libfs')
-rw-r--r--cpukit/libfs/src/imfs/imfs_creat.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/cpukit/libfs/src/imfs/imfs_creat.c b/cpukit/libfs/src/imfs/imfs_creat.c
index 37e3ac0578..4c030a210f 100644
--- a/cpukit/libfs/src/imfs/imfs_creat.c
+++ b/cpukit/libfs/src/imfs/imfs_creat.c
@@ -45,16 +45,6 @@ IMFS_jnode_t *IMFS_create_node(
fs_info = parent_loc->mt_entry->fs_info;
/*
- * Reject creation of FIFOs if support is disabled.
- */
- if ( type == IMFS_FIFO &&
- fs_info->fifo_handlers == &rtems_filesystem_handlers_default ) {
- errno = ENOTSUP;
-
- return NULL;
- }
-
- /*
* Allocate filesystem node and fill in basic information
*/
node = IMFS_allocate_node( type, name, namelen, mode );