summaryrefslogtreecommitdiff
path: root/cpukit/libfs/src/dosfs/fat_file.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-08-21 14:58:26 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-08-21 15:02:59 +0200
commit389ffb280f84edb26cbab10de5a3c205648a047b (patch)
treefdd70788720d445b63a73e6fa464f777c67308ea /cpukit/libfs/src/dosfs/fat_file.c
parent269dd124202bc8b61195d31da041dba53033b0cf (diff)
dosfs: Use unprotected chain operations
This area is protected by the FAT file system instance lock.
Diffstat (limited to 'cpukit/libfs/src/dosfs/fat_file.c')
-rw-r--r--cpukit/libfs/src/dosfs/fat_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libfs/src/dosfs/fat_file.c b/cpukit/libfs/src/dosfs/fat_file.c
index 4425b857dd..2899f1b414 100644
--- a/cpukit/libfs/src/dosfs/fat_file.c
+++ b/cpukit/libfs/src/dosfs/fat_file.c
@@ -920,7 +920,7 @@ static inline void
_hash_insert(rtems_chain_control *hash, uint32_t key1, uint32_t key2,
fat_file_fd_t *el)
{
- rtems_chain_append((hash) + ((key1) % FAT_HASH_MODULE), &(el)->link);
+ rtems_chain_append_unprotected((hash) + ((key1) % FAT_HASH_MODULE), &(el)->link);
}
@@ -940,7 +940,7 @@ static inline void
_hash_delete(rtems_chain_control *hash, uint32_t key1, uint32_t key2,
fat_file_fd_t *el)
{
- rtems_chain_extract(&(el)->link);
+ rtems_chain_extract_unprotected(&(el)->link);
}
/* _hash_search --