blob: 664103d455b7658f3bfb5340df56842987a82ba6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
/**
* @file
*
* @ingroup libfs_msdos MSDOS FileSystem
*
* @brief Call Fat-File Close Routine
*/
/*
* Copyright (C) 2001 OKTET Ltd., St.-Petersburg, Russia
* Author: Eugeny S. Mints <Eugeny.Mints@oktet.ru>
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h>
#include <rtems/libio_.h>
#include <errno.h>
#include "fat.h"
#include "fat_fat_operations.h"
#include "fat_file.h"
#include "msdos.h"
/* msdos_free_node_info --
* Call fat-file close routine.
*/
void
msdos_free_node_info(const rtems_filesystem_location_info_t *pathloc)
{
msdos_fs_info_t *fs_info = pathloc->mt_entry->fs_info;
fat_file_close(&fs_info->fat, pathloc->node_access);
}
|