diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-08-26 10:31:46 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-08-27 10:48:15 +0200 |
commit | a839d62b88aaaf20131f0ec2997f9e6cfcf7662f (patch) | |
tree | 74f21f9c8a3f3c0f9443bd416c662ba6e47b0c46 /cpukit/libfs/src/rfs/rtems-rfs-file.c | |
parent | bsps: Add and use CLOCK_DRIVER_ISRS_PER_TICK_VALUE (diff) | |
download | rtems-a839d62b88aaaf20131f0ec2997f9e6cfcf7662f.tar.bz2 |
RFS: Use unprotected chain operations
This area is protected by the RFS file system instance lock.
Diffstat (limited to 'cpukit/libfs/src/rfs/rtems-rfs-file.c')
-rw-r--r-- | cpukit/libfs/src/rfs/rtems-rfs-file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-file.c b/cpukit/libfs/src/rfs/rtems-rfs-file.c index a3be4ab49e..eb5f329a5a 100644 --- a/cpukit/libfs/src/rfs/rtems-rfs-file.c +++ b/cpukit/libfs/src/rfs/rtems-rfs-file.c @@ -123,7 +123,7 @@ rtems_rfs_file_open (rtems_rfs_file_system* fs, shared->ctime = rtems_rfs_inode_get_ctime (&shared->inode); shared->fs = fs; - rtems_chain_append (&fs->file_shares, &shared->link); + rtems_chain_append_unprotected (&fs->file_shares, &shared->link); rtems_rfs_inode_unload (fs, &shared->inode, false); @@ -197,7 +197,7 @@ rtems_rfs_file_close (rtems_rfs_file_system* fs, rrc = rc; } - rtems_chain_extract (&handle->shared->link); + rtems_chain_extract_unprotected (&handle->shared->link); free (handle->shared); } |