Changeset 389ffb28 in rtems


Ignore:
Timestamp:
Aug 21, 2013, 12:58:26 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
1a246d7e
Parents:
269dd12
git-author:
Sebastian Huber <sebastian.huber@…> (08/21/13 12:58:26)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/21/13 13:02:59)
Message:

dosfs: Use unprotected chain operations

This area is protected by the FAT file system instance lock.

Location:
cpukit/libfs/src/dosfs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libfs/src/dosfs/fat.c

    r269dd12 r389ffb28  
    856856        rtems_chain_control *the_chain = fs_info->vhash + i;
    857857
    858         while ( (node = rtems_chain_get(the_chain)) != NULL )
     858        while ( (node = rtems_chain_get_unprotected(the_chain)) != NULL )
    859859            free(node);
    860860    }
     
    865865        rtems_chain_control *the_chain = fs_info->rhash + i;
    866866
    867         while ( (node = rtems_chain_get(the_chain)) != NULL )
     867        while ( (node = rtems_chain_get_unprotected(the_chain)) != NULL )
    868868            free(node);
    869869    }
  • cpukit/libfs/src/dosfs/fat_file.c

    r269dd12 r389ffb28  
    921921             fat_file_fd_t *el)
    922922{
    923     rtems_chain_append((hash) + ((key1) % FAT_HASH_MODULE), &(el)->link);
     923    rtems_chain_append_unprotected((hash) + ((key1) % FAT_HASH_MODULE), &(el)->link);
    924924}
    925925
     
    941941             fat_file_fd_t *el)
    942942{
    943     rtems_chain_extract(&(el)->link);
     943    rtems_chain_extract_unprotected(&(el)->link);
    944944}
    945945
Note: See TracChangeset for help on using the changeset viewer.