Changeset fb4541b in rtems


Ignore:
Timestamp:
05/19/00 19:02:30 (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
9064ad4
Parents:
459d051b
Message:

Removed duplicated call to unmount filesystem.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libc/unmount.c

    r459d051b rfb4541b  
    6363  rtems_filesystem_location_info_t      temp_loc;
    6464  rtems_filesystem_mount_table_entry_t  temp_mt_entry;
    65   int                                   result;
    6665
    6766  /*
     
    102101   * Allow the file system being mounted on to do its cleanup.
    103102   * XXX - Did I change these correctly ??? It looks like either I did
    104    * XXX   this backwards or the IMFS_unmount and IMFS_fsumount are swaped.
     103   * XXX   this backwards or the IMFS_unmount and IMFS_fsumount are swapped.
    105104   * XXX   Add to the mt_point_node unmount to set the mt_entry back to null
    106105   * XXX   I will step off in space when evaluating past the end of the node.
     
    120119    return -1;
    121120  }
    122 
    123   /*
    124    * Allow the file system to clean up.
    125    */
    126 
    127   result = (*temp_loc.ops->fsunmount_me)( temp_loc.mt_entry );
    128121
    129122  /*
     
    140133  free( temp_loc.mt_entry );
    141134  rtems_filesystem_freenode( &temp_loc );
    142 
    143   return result;
    144135
    145136}
Note: See TracChangeset for help on using the changeset viewer.