summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/unmount.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-10-30 17:20:16 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-10-30 18:03:29 +0100
commit93b29f08f0a62e5dd89498b58b569ac78a06271b (patch)
treec025e58266ed26e207a78829fc5762aa693e7f38 /cpukit/libcsupport/src/unmount.c
parentlibblock: Use transient event (diff)
downloadrtems-93b29f08f0a62e5dd89498b58b569ac78a06271b.tar.bz2
Filesystem: Use transient event
Diffstat (limited to 'cpukit/libcsupport/src/unmount.c')
-rw-r--r--cpukit/libcsupport/src/unmount.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/cpukit/libcsupport/src/unmount.c b/cpukit/libcsupport/src/unmount.c
index b888dee240..a6e0f40442 100644
--- a/cpukit/libcsupport/src/unmount.c
+++ b/cpukit/libcsupport/src/unmount.c
@@ -70,12 +70,9 @@ int unmount( const char *path )
rtems_filesystem_eval_path_cleanup( &ctx );
if ( rv == 0 ) {
- rtems_event_set out;
- rtems_status_code sc = rtems_event_receive(
- RTEMS_FILESYSTEM_UNMOUNT_EVENT,
- RTEMS_EVENT_ALL | RTEMS_WAIT,
- RTEMS_NO_TIMEOUT,
- &out
+ rtems_status_code sc = rtems_event_transient_receive(
+ RTEMS_WAIT,
+ RTEMS_NO_TIMEOUT
);
if ( sc != RTEMS_SUCCESSFUL ) {