IMFS: Allow sockets as generic nodes

This commit is contained in:
Sebastian Huber
2014-01-16 13:02:50 +01:00
parent a32f996b60
commit 45e82bb862

View File

@@ -63,13 +63,14 @@ int IMFS_make_generic_node(
case S_IFCHR:
case S_IFIFO:
case S_IFREG:
case S_IFSOCK:
break;
default:
errno = EINVAL;
rv = -1;
break;
}
if ( rv == 0 ) {
if ( node_control->imfs_type == IMFS_GENERIC ) {
rtems_filesystem_eval_path_context_t ctx;