Changeset bf61751c in rtems


Ignore:
Timestamp:
Oct 23, 2002, 6:10:27 PM (17 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
1d66629
Parents:
3767e25
Message:

2002-10-23 <strauman@…>

  • src/mount.c per PR290, add check for ops->node_type_h
  • src/mknod.c per PR291, remove erroneous call to freenod
Location:
cpukit/libcsupport
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/ChangeLog

    r3767e25 rbf61751c  
     12002-10-23      <strauman@slac.stanford.edu>
     2        * src/mount.c per PR290, add check for ops->node_type_h
     3        * src/mknod.c per PR291, remove erroneous call to freenod
     4
    152002-10-21      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    26
  • cpukit/libcsupport/src/mknod.c

    r3767e25 rbf61751c  
    5050
    5151  if ( !temp_loc.ops->evalformake_h ) {
    52     rtems_filesystem_freenode( &temp_loc );
    5352    rtems_set_errno_and_return_minus_one( ENOTSUP );
    5453  }
  • cpukit/libcsupport/src/mount.c

    r3767e25 rbf61751c  
    136136      goto cleanup_and_bail;
    137137
     138    /*
     139     * Test for node_type_h
     140     */
     141
     142    if (!loc.ops->node_type_h) {
     143      errno =  ENOTSUP;
     144      goto cleanup_and_bail;
     145    }
     146
    138147    /*
    139148     *  Test to see if it is a directory
     
    142151    loc_to_free = &loc;
    143152    if ( loc.ops->node_type_h( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
    144       errno = ENOTDIR;
     153      errno = ENOTDIR; 
    145154      goto cleanup_and_bail;
    146155    }
Note: See TracChangeset for help on using the changeset viewer.