diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-02-21 15:52:55 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-03-13 12:24:15 +0100 |
commit | e00cca9b74acb6ec67cc9696cd0a005aa3d991c3 (patch) | |
tree | 340910f0585a73cfb6afb693a88fad2470c9acf3 /cpukit | |
parent | Filesystem: Rename defines (diff) | |
download | rtems-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')
-rw-r--r-- | cpukit/libfs/src/imfs/imfs_creat.c | 10 |
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 ); |