summaryrefslogtreecommitdiffstats
path: root/cpukit/libblock
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-06-06 12:48:13 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-06-06 12:57:06 +0200
commit89f8d9fcc030014a33983d22d01187311cbf181e (patch)
treec43a8df172e11dea89775ee58ee4bf6bb9a4ef40 /cpukit/libblock
parentlibmisc/untar: Support directory create and overwrites. Share the common code. (diff)
downloadrtems-89f8d9fcc030014a33983d22d01187311cbf181e.tar.bz2
libblock: Use proper semaphore attr for mutex
Close #1452.
Diffstat (limited to 'cpukit/libblock')
-rw-r--r--cpukit/libblock/src/diskdevs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpukit/libblock/src/diskdevs.c b/cpukit/libblock/src/diskdevs.c
index fceed83163..cb1f15707f 100644
--- a/cpukit/libblock/src/diskdevs.c
+++ b/cpukit/libblock/src/diskdevs.c
@@ -551,8 +551,7 @@ rtems_disk_io_initialize(void)
sc = rtems_semaphore_create(
rtems_build_name('D', 'D', 'E', 'V'),
1,
- RTEMS_FIFO | RTEMS_BINARY_SEMAPHORE | RTEMS_NO_INHERIT_PRIORITY
- | RTEMS_NO_PRIORITY_CEILING | RTEMS_LOCAL,
+ RTEMS_BINARY_SEMAPHORE | RTEMS_PRIORITY | RTEMS_INHERIT_PRIORITY,
0,
&diskdevs_mutex
);