forked from Imagelibrary/rtems
IMFS: Allow sockets as generic nodes
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user