source: rtems/cpukit/libfs/src/defaults/default_lock_and_unlock.c @ 255fe43

Last change on this file since 255fe43 was 255fe43, checked in by Joel Sherrill <joel@…>, on 03/01/22 at 20:40:44

cpukit/: Scripted embedded brains header file clean up

Updates #4625.

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