summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/dosfs/fat.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libfs/src/dosfs/fat.c')
-rw-r--r--cpukit/libfs/src/dosfs/fat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libfs/src/dosfs/fat.c b/cpukit/libfs/src/dosfs/fat.c
index 5225b95ecd..f81bc7b8d7 100644
--- a/cpukit/libfs/src/dosfs/fat.c
+++ b/cpukit/libfs/src/dosfs/fat.c
@@ -855,7 +855,7 @@ fat_shutdown_drive(fat_fs_info_t *fs_info)
rtems_chain_node *node = NULL;
rtems_chain_control *the_chain = fs_info->vhash + i;
- while ( (node = rtems_chain_get(the_chain)) != NULL )
+ while ( (node = rtems_chain_get_unprotected(the_chain)) != NULL )
free(node);
}
@@ -864,7 +864,7 @@ fat_shutdown_drive(fat_fs_info_t *fs_info)
rtems_chain_node *node = NULL;
rtems_chain_control *the_chain = fs_info->rhash + i;
- while ( (node = rtems_chain_get(the_chain)) != NULL )
+ while ( (node = rtems_chain_get_unprotected(the_chain)) != NULL )
free(node);
}