source: rtems/cpukit/libfs/src/defaults/default_lock_and_unlock.c @ 8587b01

4.11
Last change on this file since 8587b01 was 8587b01, checked in by Ayush Awasthi <kolaveridi87@…>, on Dec 28, 2012 at 2:26:30 PM

libfs: Doxygen Enhancement Task #4

  • Property mode set to 100644
File size: 803 bytes
Line 
1/**
2 * @file
3 *
4 * @brief RTEMS Default File System locks and unlocks rtems filesystem
5 * @ingroup LibIOFSOps File System Operations
6 */
7
8/*
9 * Copyright (c) 2012 embedded brains GmbH.  All rights reserved.
10 *
11 *  embedded brains GmbH
12 *  Obere Lagerstr. 30
13 *  82178 Puchheim
14 *  Germany
15 *  <rtems@embedded-brains.de>
16 *
17 * The license and distribution terms for this file may be
18 * found in the file LICENSE in this distribution or at
19 * http://www.rtems.com/license/LICENSE.
20 */
21
22#if HAVE_CONFIG_H
23  #include "config.h"
24#endif
25
26#include <rtems/libio_.h>
27
28void rtems_filesystem_default_lock(
29  const rtems_filesystem_mount_table_entry_t *mt_entry
30)
31{
32  rtems_libio_lock();
33}
34
35void rtems_filesystem_default_unlock(
36  const rtems_filesystem_mount_table_entry_t *mt_entry
37)
38{
39  rtems_libio_unlock();
40}
Note: See TracBrowser for help on using the repository browser.