Changeset f758f810 in rtems


Ignore:
Timestamp:
11/05/99 22:26:12 (24 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
b8a0aad1
Parents:
089ad91d
Message:

Correctly set and called handlers table for the link.

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/libfs/src/imfs/imfs_unlink.c

    r089ad91d rf758f810  
    4848    the_link = *loc;
    4949    the_link.node_access = node->info.hard_link.link_node;
     50    IMFS_Set_handlers( &the_link );
    5051
    5152    /*
     
    5758    IMFS_update_ctime( node->info.hard_link.link_node );
    5859    if ( node->info.hard_link.link_node->st_nlink < 1) {
    59       result = (*loc->handlers->rmnod)( &the_link );
     60      result = (*the_link.handlers->rmnod)( &the_link );
    6061      if ( result != 0 )
    6162        return -1;
     
    7172  return result;
    7273}
     74
  • c/src/lib/libc/imfs_unlink.c

    r089ad91d rf758f810  
    4848    the_link = *loc;
    4949    the_link.node_access = node->info.hard_link.link_node;
     50    IMFS_Set_handlers( &the_link );
    5051
    5152    /*
     
    5758    IMFS_update_ctime( node->info.hard_link.link_node );
    5859    if ( node->info.hard_link.link_node->st_nlink < 1) {
    59       result = (*loc->handlers->rmnod)( &the_link );
     60      result = (*the_link.handlers->rmnod)( &the_link );
    6061      if ( result != 0 )
    6162        return -1;
     
    7172  return result;
    7273}
     74
  • c/src/libfs/src/imfs/imfs_unlink.c

    r089ad91d rf758f810  
    4848    the_link = *loc;
    4949    the_link.node_access = node->info.hard_link.link_node;
     50    IMFS_Set_handlers( &the_link );
    5051
    5152    /*
     
    5758    IMFS_update_ctime( node->info.hard_link.link_node );
    5859    if ( node->info.hard_link.link_node->st_nlink < 1) {
    59       result = (*loc->handlers->rmnod)( &the_link );
     60      result = (*the_link.handlers->rmnod)( &the_link );
    6061      if ( result != 0 )
    6162        return -1;
     
    7172  return result;
    7273}
     74
  • cpukit/libfs/src/imfs/imfs_unlink.c

    r089ad91d rf758f810  
    4848    the_link = *loc;
    4949    the_link.node_access = node->info.hard_link.link_node;
     50    IMFS_Set_handlers( &the_link );
    5051
    5152    /*
     
    5758    IMFS_update_ctime( node->info.hard_link.link_node );
    5859    if ( node->info.hard_link.link_node->st_nlink < 1) {
    59       result = (*loc->handlers->rmnod)( &the_link );
     60      result = (*the_link.handlers->rmnod)( &the_link );
    6061      if ( result != 0 )
    6162        return -1;
     
    7172  return result;
    7273}
     74
Note: See TracChangeset for help on using the changeset viewer.