4.115
Last change
on this file since c499856 was
c499856,
checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47
|
Change all references of rtems.com to rtems.org.
|
-
Property mode set to
100644
|
File size:
807 bytes
|
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @brief Releases all Resources of a Location |
---|
5 | * @ingroup LibIOInternal |
---|
6 | */ |
---|
7 | /* |
---|
8 | * COPYRIGHT (c) 1989-2010. |
---|
9 | * On-Line Applications Research Corporation (OAR). |
---|
10 | * |
---|
11 | * Modifications to support reference counting in the file system are |
---|
12 | * Copyright (c) 2012 embedded brains GmbH. |
---|
13 | * |
---|
14 | * The license and distribution terms for this file may be |
---|
15 | * found in the file LICENSE in this distribution or at |
---|
16 | * http://www.rtems.org/license/LICENSE. |
---|
17 | */ |
---|
18 | |
---|
19 | #if HAVE_CONFIG_H |
---|
20 | #include "config.h" |
---|
21 | #endif |
---|
22 | |
---|
23 | #include <rtems/libio_.h> |
---|
24 | |
---|
25 | void rtems_filesystem_location_free( rtems_filesystem_location_info_t *loc ) |
---|
26 | { |
---|
27 | rtems_filesystem_instance_lock( loc ); |
---|
28 | (*loc->mt_entry->ops->freenod_h)( loc ); |
---|
29 | rtems_filesystem_instance_unlock( loc ); |
---|
30 | rtems_filesystem_location_remove_from_mt_entry( loc ); |
---|
31 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.