From a7f0096b730ebebb0b22b5eacb2ea20cd130344d Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 6 Jun 2016 12:50:23 +0200 Subject: dosfs: Use proper semaphore attr for mutex Close #2727. --- cpukit/libfs/src/dosfs/msdos_initsupp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cpukit/libfs/src/dosfs/msdos_initsupp.c b/cpukit/libfs/src/dosfs/msdos_initsupp.c index 23c875685d..ccaf51936e 100644 --- a/cpukit/libfs/src/dosfs/msdos_initsupp.c +++ b/cpukit/libfs/src/dosfs/msdos_initsupp.c @@ -135,7 +135,8 @@ msdos_initialize_support( sc = rtems_semaphore_create(3, 1, - RTEMS_BINARY_SEMAPHORE | RTEMS_FIFO, + RTEMS_BINARY_SEMAPHORE | RTEMS_PRIORITY | + RTEMS_INHERIT_PRIORITY, 0, &fs_info->vol_sema); if (sc != RTEMS_SUCCESSFUL) -- cgit v1.2.3