Ignore:
Timestamp:
Aug 2, 2010, 6:27:23 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
8682da39
Parents:
5114d3f
Message:

2010-08-02 Joel Sherrill <joel.sherrill@…>

  • libfs/src/imfs/imfs_creat.c, libfs/src/imfs/imfs_eval.c, libfs/src/imfs/imfs_mknod.c, libfs/src/imfs/imfs_readlink.c, libfs/src/pipe/fifo.c: Clean up for coverage improvements and formatting.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libfs/src/imfs/imfs_mknod.c

    r5114d3f r8851c0a  
    5454    type = IMFS_DEVICE;
    5555    rtems_filesystem_split_dev_t( dev, info.device.major, info.device.minor );
    56   }
    57   else if (S_ISFIFO(mode))
     56  } else if (S_ISFIFO(mode))
    5857    type = IMFS_FIFO;
    59   else  {
    60     rtems_set_errno_and_return_minus_one( EINVAL );
    61   }
     58  else
     59    IMFS_assert( 0 );
    6260
    6361  /*
     
    7169   *        this path.
    7270   */
    73   new_node = IMFS_create_node(
    74     pathloc,
    75     type,
    76     new_name,
    77     mode,
    78     &info
    79   );
    80 
     71  new_node = IMFS_create_node( pathloc, type, new_name, mode, &info );
    8172  if ( !new_node )
    8273    rtems_set_errno_and_return_minus_one( ENOMEM );
Note: See TracChangeset for help on using the changeset viewer.