4.115
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @brief Call Fat-File Close Routine |
---|
5 | * @ingroup libfs_msdos MSDOS FileSystem |
---|
6 | */ |
---|
7 | |
---|
8 | /* |
---|
9 | * Copyright (C) 2001 OKTET Ltd., St.-Petersburg, Russia |
---|
10 | * Author: Eugeny S. Mints <Eugeny.Mints@oktet.ru> |
---|
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.com/license/LICENSE. |
---|
15 | */ |
---|
16 | |
---|
17 | #if HAVE_CONFIG_H |
---|
18 | #include "config.h" |
---|
19 | #endif |
---|
20 | |
---|
21 | #include <rtems.h> |
---|
22 | #include <rtems/libio_.h> |
---|
23 | |
---|
24 | #include <errno.h> |
---|
25 | |
---|
26 | #include "fat.h" |
---|
27 | #include "fat_fat_operations.h" |
---|
28 | #include "fat_file.h" |
---|
29 | |
---|
30 | #include "msdos.h" |
---|
31 | |
---|
32 | /* msdos_free_node_info -- |
---|
33 | * Call fat-file close routine. |
---|
34 | */ |
---|
35 | void |
---|
36 | msdos_free_node_info(const rtems_filesystem_location_info_t *pathloc) |
---|
37 | { |
---|
38 | msdos_fs_info_t *fs_info = pathloc->mt_entry->fs_info; |
---|
39 | |
---|
40 | fat_file_close(&fs_info->fat, pathloc->node_access); |
---|
41 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.