2011-10-15 14:56:47 +04:00
|
|
|
/*
|
|
|
|
Virtual File System garbage collection code
|
2003-11-08 02:43:55 +03:00
|
|
|
|
2024-01-01 09:46:17 +03:00
|
|
|
Copyright (C) 2003-2024
|
2014-02-12 10:33:10 +04:00
|
|
|
Free Software Foundation, Inc.
|
2003-11-08 02:43:55 +03:00
|
|
|
|
2011-10-15 14:56:47 +04:00
|
|
|
Written by:
|
|
|
|
Miguel de Icaza, 1995
|
|
|
|
Jakub Jelinek, 1995
|
|
|
|
Pavel Machek, 1998
|
|
|
|
Pavel Roskin, 2003
|
2003-11-08 02:43:55 +03:00
|
|
|
|
2011-10-15 14:56:47 +04:00
|
|
|
This file is part of the Midnight Commander.
|
|
|
|
|
|
|
|
The Midnight Commander is free software: you can redistribute it
|
|
|
|
and/or modify it under the terms of the GNU General Public License as
|
|
|
|
published by the Free Software Foundation, either version 3 of the License,
|
|
|
|
or (at your option) any later version.
|
|
|
|
|
|
|
|
The Midnight Commander is distributed in the hope that it will be useful,
|
2003-11-08 02:43:55 +03:00
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
2011-10-15 14:56:47 +04:00
|
|
|
GNU General Public License for more details.
|
2003-11-08 02:43:55 +03:00
|
|
|
|
2011-10-15 14:56:47 +04:00
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
2003-11-08 02:43:55 +03:00
|
|
|
|
2009-02-07 15:54:58 +03:00
|
|
|
/**
|
|
|
|
* \file
|
|
|
|
* \brief Source: Virtual File System: garbage collection code
|
|
|
|
* \author Miguel de Icaza
|
|
|
|
* \author Jakub Jelinek
|
|
|
|
* \author Pavel Machek
|
|
|
|
* \author Pavel Roskin
|
|
|
|
* \date 1995, 1998, 2003
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
2003-11-08 02:43:55 +03:00
|
|
|
#include <config.h>
|
|
|
|
|
2020-03-01 19:55:34 +03:00
|
|
|
#include <stdlib.h>
|
2003-11-08 02:43:55 +03:00
|
|
|
|
2010-01-20 18:11:52 +03:00
|
|
|
#include "lib/global.h"
|
2011-02-15 17:41:22 +03:00
|
|
|
#include "lib/event.h"
|
2019-05-11 09:05:16 +03:00
|
|
|
#include "lib/util.h" /* MC_PTR_FREE */
|
2009-05-08 14:01:05 +04:00
|
|
|
|
2011-02-15 16:44:17 +03:00
|
|
|
#include "vfs.h"
|
2010-07-08 11:32:37 +04:00
|
|
|
#include "utilvfs.h"
|
2003-11-08 02:43:55 +03:00
|
|
|
|
2010-07-22 12:07:07 +04:00
|
|
|
#include "gc.h"
|
|
|
|
|
2015-05-25 20:20:40 +03:00
|
|
|
/*
|
|
|
|
* The garbage collection mechanism is based on "stamps".
|
|
|
|
*
|
|
|
|
* A stamp is a record that says "I'm a filesystem which is no longer in
|
|
|
|
* use. Free me when you get a chance."
|
|
|
|
*
|
|
|
|
* This file contains a set of functions used for managing this stamp. You
|
|
|
|
* should use them when you write your own filesystem. Here are some rules
|
|
|
|
* of thumb:
|
|
|
|
*
|
|
|
|
* (1) When the last open file in your filesystem gets closed, conditionally
|
|
|
|
* create a stamp. You do this with vfs_stamp_create(). (The meaning
|
Fix various typos in the source code (closes MidnightCommander/mc#177).
Found via `codespell -S
po,doc,./misc/syntax,./src/vfs/extfs/helpers/README.it -L
parm,rouge,sav,ect,vie,te,dum,clen,wee,dynamc,childs,ths,fo,nin,unx,nd,iif,iterm,ser,makrs,wil`
Co-authored-by: Yury V. Zaytsev <yury@shurup.com>
Signed-off-by: Kian-Meng Ang <kianmeng@cpan.org>
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2023-01-10 06:02:52 +03:00
|
|
|
* of "conditionally" is explained below.)
|
2015-05-25 20:20:40 +03:00
|
|
|
*
|
|
|
|
* (2) When a file in your filesystem is opened, delete the stamp. You do
|
|
|
|
* this with vfs_rmstamp().
|
|
|
|
*
|
|
|
|
* (3) When a path inside your filesystem is invoked, call vfs_stamp() to
|
|
|
|
* postpone the free'ing of your filesystem a bit. (This simply updates
|
|
|
|
* a timestamp variable inside the stamp.)
|
|
|
|
*
|
|
|
|
* Additionally, when a user navigates to a new directory in a panel (or a
|
|
|
|
* programmer uses mc_chdir()), a stamp is conditionally created for the
|
|
|
|
* previous directory's filesystem. This ensures that that filesystem is
|
|
|
|
* free'ed. (see: _do_panel_cd() -> vfs_release_path(); mc_chdir()).
|
|
|
|
*
|
|
|
|
* We've spoken here of "conditionally creating" a stamp. What we mean is
|
|
|
|
* that vfs_stamp_create() is to be used: this function creates a stamp
|
|
|
|
* only if no directories are open (aka "active") in your filesystem. (If
|
|
|
|
* there _are_ directories open, it means that the filesystem is in use, in
|
|
|
|
* which case we don't want to free it.)
|
|
|
|
*/
|
|
|
|
|
2010-11-08 13:21:45 +03:00
|
|
|
/*** global variables ****************************************************************************/
|
|
|
|
|
|
|
|
int vfs_timeout = 60; /* VFS timeout in seconds */
|
|
|
|
|
|
|
|
/*** file scope macro definitions ****************************************************************/
|
|
|
|
|
2019-01-26 16:26:02 +03:00
|
|
|
#define VFS_STAMPING(a) ((struct vfs_stamping *)(a))
|
|
|
|
|
2010-11-08 13:21:45 +03:00
|
|
|
/*** file scope type declarations ****************************************************************/
|
|
|
|
|
2019-01-26 12:56:07 +03:00
|
|
|
struct vfs_stamping
|
|
|
|
{
|
|
|
|
struct vfs_class *v;
|
|
|
|
vfsid id;
|
2020-11-22 15:06:29 +03:00
|
|
|
gint64 time;
|
2019-01-26 12:56:07 +03:00
|
|
|
};
|
|
|
|
|
Update template for .c files.
Add section for forward declarations of local functions. This section is
located before file scope variables because functions can be used in
strucutres (see find.c for example):
/*** forward declarations (file scope functions) *************************************************/
/* button callbacks */
static int start_stop (WButton * button, int action);
static int find_do_view_file (WButton * button, int action);
static int find_do_edit_file (WButton * button, int action);
/*** file scope variables ************************************************************************/
static struct
{
...
bcback_fn callback;
} fbuts[] =
{
...
{ B_STOP, NORMAL_BUTTON, N_("S&uspend"), 0, 0, NULL, start_stop },
...
{ B_VIEW, NORMAL_BUTTON, N_("&View - F3"), 0, 0, NULL, find_do_view_file },
{ B_VIEW, NORMAL_BUTTON, N_("&Edit - F4"), 0, 0, NULL, find_do_edit_file }
};
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2023-02-24 09:27:11 +03:00
|
|
|
/*** forward declarations (file scope functions) *************************************************/
|
|
|
|
|
2010-11-08 13:21:45 +03:00
|
|
|
/*** file scope variables ************************************************************************/
|
2003-11-08 02:43:55 +03:00
|
|
|
|
2019-01-26 16:26:02 +03:00
|
|
|
static GSList *stamps = NULL;
|
2003-11-08 02:43:55 +03:00
|
|
|
|
2019-01-26 16:26:02 +03:00
|
|
|
/* --------------------------------------------------------------------------------------------- */
|
2010-11-08 13:21:45 +03:00
|
|
|
/*** file scope functions ************************************************************************/
|
|
|
|
/* --------------------------------------------------------------------------------------------- */
|
|
|
|
|
2019-01-26 16:26:02 +03:00
|
|
|
static gint
|
|
|
|
vfs_stamp_compare (gconstpointer a, gconstpointer b)
|
|
|
|
{
|
|
|
|
const struct vfs_stamping *vsa = (const struct vfs_stamping *) a;
|
|
|
|
const struct vfs_stamping *vsb = (const struct vfs_stamping *) b;
|
|
|
|
|
2019-09-11 09:17:18 +03:00
|
|
|
return (vsa == NULL || vsb == NULL || (vsa->v == vsb->v && vsa->id == vsb->id)) ? 0 : 1;
|
2019-01-26 16:26:02 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* --------------------------------------------------------------------------------------------- */
|
|
|
|
|
2003-11-08 02:43:55 +03:00
|
|
|
static void
|
2003-11-27 00:10:42 +03:00
|
|
|
vfs_addstamp (struct vfs_class *v, vfsid id)
|
2003-11-08 02:43:55 +03:00
|
|
|
{
|
2019-11-18 21:24:13 +03:00
|
|
|
if ((v->flags & VFSF_LOCAL) == 0 && id != NULL && !vfs_stamp (v, id))
|
2010-11-08 13:21:45 +03:00
|
|
|
{
|
|
|
|
struct vfs_stamping *stamp;
|
2019-01-26 16:26:02 +03:00
|
|
|
|
2010-11-08 13:21:45 +03:00
|
|
|
stamp = g_new (struct vfs_stamping, 1);
|
|
|
|
stamp->v = v;
|
|
|
|
stamp->id = id;
|
2021-10-03 17:12:42 +03:00
|
|
|
stamp->time = g_get_monotonic_time ();
|
2003-11-08 02:43:55 +03:00
|
|
|
|
2019-01-26 16:26:02 +03:00
|
|
|
stamps = g_slist_append (stamps, stamp);
|
|
|
|
}
|
2010-11-08 13:21:45 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* --------------------------------------------------------------------------------------------- */
|
|
|
|
/*** public functions ****************************************************************************/
|
|
|
|
/* --------------------------------------------------------------------------------------------- */
|
2003-11-08 02:43:55 +03:00
|
|
|
|
2019-01-26 16:26:02 +03:00
|
|
|
gboolean
|
2003-11-08 02:43:55 +03:00
|
|
|
vfs_stamp (struct vfs_class *v, vfsid id)
|
|
|
|
{
|
2019-01-26 16:26:02 +03:00
|
|
|
struct vfs_stamping what = {
|
|
|
|
.v = v,
|
|
|
|
.id = id
|
|
|
|
};
|
|
|
|
GSList *stamp;
|
|
|
|
gboolean ret = FALSE;
|
|
|
|
|
|
|
|
stamp = g_slist_find_custom (stamps, &what, vfs_stamp_compare);
|
2019-09-11 09:17:18 +03:00
|
|
|
if (stamp != NULL && stamp->data != NULL)
|
2019-01-26 16:26:02 +03:00
|
|
|
{
|
2021-10-03 17:12:42 +03:00
|
|
|
VFS_STAMPING (stamp->data)->time = g_get_monotonic_time ();
|
2019-01-26 16:26:02 +03:00
|
|
|
ret = TRUE;
|
|
|
|
}
|
|
|
|
|
|
|
|
return ret;
|
2003-11-08 02:43:55 +03:00
|
|
|
}
|
|
|
|
|
2010-11-08 13:21:45 +03:00
|
|
|
/* --------------------------------------------------------------------------------------------- */
|
2003-11-08 02:43:55 +03:00
|
|
|
|
|
|
|
void
|
2003-11-27 00:10:42 +03:00
|
|
|
vfs_rmstamp (struct vfs_class *v, vfsid id)
|
2003-11-08 02:43:55 +03:00
|
|
|
{
|
2019-01-26 16:26:02 +03:00
|
|
|
struct vfs_stamping what = {
|
|
|
|
.v = v,
|
|
|
|
.id = id
|
|
|
|
};
|
|
|
|
GSList *stamp;
|
|
|
|
|
|
|
|
stamp = g_slist_find_custom (stamps, &what, vfs_stamp_compare);
|
|
|
|
if (stamp != NULL)
|
|
|
|
{
|
|
|
|
g_free (stamp->data);
|
|
|
|
stamps = g_slist_delete_link (stamps, stamp);
|
|
|
|
}
|
2003-11-08 02:43:55 +03:00
|
|
|
}
|
|
|
|
|
2010-11-08 13:21:45 +03:00
|
|
|
/* --------------------------------------------------------------------------------------------- */
|
2003-11-08 02:43:55 +03:00
|
|
|
|
2010-07-08 11:32:37 +04:00
|
|
|
void
|
2024-06-01 21:12:14 +03:00
|
|
|
vfs_stamp_path (const vfs_path_t *vpath)
|
2003-11-08 02:43:55 +03:00
|
|
|
{
|
|
|
|
vfsid id;
|
2023-07-16 11:18:59 +03:00
|
|
|
struct vfs_class *me;
|
2011-04-21 14:27:56 +04:00
|
|
|
|
2023-07-16 11:18:59 +03:00
|
|
|
me = VFS_CLASS (vfs_path_get_last_path_vfs (vpath));
|
2011-04-21 14:27:56 +04:00
|
|
|
id = vfs_getid (vpath);
|
2023-07-16 11:18:59 +03:00
|
|
|
vfs_addstamp (me, id);
|
2003-11-08 02:43:55 +03:00
|
|
|
}
|
|
|
|
|
2010-11-08 13:21:45 +03:00
|
|
|
/* --------------------------------------------------------------------------------------------- */
|
|
|
|
/**
|
2003-11-27 00:10:42 +03:00
|
|
|
* Create a new timestamp item by VFS class and VFS id.
|
|
|
|
*/
|
2010-11-08 13:21:45 +03:00
|
|
|
|
2003-11-27 00:10:42 +03:00
|
|
|
void
|
2011-02-15 17:41:22 +03:00
|
|
|
vfs_stamp_create (struct vfs_class *vclass, vfsid id)
|
2003-11-08 02:43:55 +03:00
|
|
|
{
|
2011-02-15 17:41:22 +03:00
|
|
|
vfsid nvfsid;
|
|
|
|
|
|
|
|
ev_vfs_stamp_create_t event_data = { vclass, id, FALSE };
|
2012-03-23 15:38:36 +04:00
|
|
|
const vfs_path_t *vpath;
|
2023-07-16 11:18:59 +03:00
|
|
|
struct vfs_class *me;
|
2003-11-08 02:43:55 +03:00
|
|
|
|
|
|
|
/* There are three directories we have to take care of: current_dir,
|
Fix various typos in the source code (closes MidnightCommander/mc#177).
Found via `codespell -S
po,doc,./misc/syntax,./src/vfs/extfs/helpers/README.it -L
parm,rouge,sav,ect,vie,te,dum,clen,wee,dynamc,childs,ths,fo,nin,unx,nd,iif,iterm,ser,makrs,wil`
Co-authored-by: Yury V. Zaytsev <yury@shurup.com>
Signed-off-by: Kian-Meng Ang <kianmeng@cpan.org>
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2023-01-10 06:02:52 +03:00
|
|
|
current_panel->cwd and other_panel->cwd. Although most of the time either
|
2003-11-08 02:43:55 +03:00
|
|
|
current_dir and current_panel->cwd or current_dir and other_panel->cwd are the
|
|
|
|
same, it's possible that all three are different -- Norbert */
|
|
|
|
|
2011-02-15 17:41:22 +03:00
|
|
|
if (!mc_event_present (MCEVENT_GROUP_CORE, "vfs_timestamp"))
|
2010-11-08 13:21:45 +03:00
|
|
|
return;
|
2003-11-08 02:43:55 +03:00
|
|
|
|
2011-04-29 15:13:29 +04:00
|
|
|
vpath = vfs_get_raw_current_dir ();
|
2023-07-16 11:18:59 +03:00
|
|
|
me = VFS_CLASS (vfs_path_get_last_path_vfs (vpath));
|
2003-11-08 02:43:55 +03:00
|
|
|
|
2011-04-21 14:27:56 +04:00
|
|
|
nvfsid = vfs_getid (vpath);
|
2023-07-16 11:18:59 +03:00
|
|
|
vfs_rmstamp (me, nvfsid);
|
2003-11-08 02:43:55 +03:00
|
|
|
|
2023-07-16 11:18:59 +03:00
|
|
|
if (!(id == NULL || (me == vclass && nvfsid == id)))
|
2011-04-21 14:27:56 +04:00
|
|
|
{
|
|
|
|
mc_event_raise (MCEVENT_GROUP_CORE, "vfs_timestamp", (gpointer) & event_data);
|
2003-11-09 02:53:00 +03:00
|
|
|
|
2011-04-21 14:27:56 +04:00
|
|
|
if (!event_data.ret && vclass != NULL && vclass->nothingisopen != NULL
|
2019-05-14 15:56:24 +03:00
|
|
|
&& vclass->nothingisopen (id))
|
2011-04-21 14:27:56 +04:00
|
|
|
vfs_addstamp (vclass, id);
|
|
|
|
}
|
2003-11-08 02:43:55 +03:00
|
|
|
}
|
|
|
|
|
2010-11-08 13:21:45 +03:00
|
|
|
/* --------------------------------------------------------------------------------------------- */
|
2019-05-11 09:05:16 +03:00
|
|
|
/** This is called from timeout handler with now = FALSE,
|
|
|
|
or can be called with now = TRUE to force freeing all filesystems */
|
2010-11-08 13:21:45 +03:00
|
|
|
|
2003-11-08 02:43:55 +03:00
|
|
|
void
|
2012-04-07 17:07:58 +04:00
|
|
|
vfs_expire (gboolean now)
|
2003-11-08 02:43:55 +03:00
|
|
|
{
|
2012-04-07 17:07:58 +04:00
|
|
|
static gboolean locked = FALSE;
|
2020-11-22 15:06:29 +03:00
|
|
|
gint64 curr_time, exp_time;
|
2019-05-11 09:05:16 +03:00
|
|
|
GSList *stamp;
|
2003-11-08 02:43:55 +03:00
|
|
|
|
|
|
|
/* Avoid recursive invocation, e.g. when one of the free functions
|
|
|
|
calls message */
|
|
|
|
if (locked)
|
2010-11-08 13:21:45 +03:00
|
|
|
return;
|
2019-01-26 16:26:02 +03:00
|
|
|
locked = TRUE;
|
2003-11-08 02:43:55 +03:00
|
|
|
|
2021-10-03 17:12:42 +03:00
|
|
|
curr_time = g_get_monotonic_time ();
|
2020-03-01 19:55:34 +03:00
|
|
|
exp_time = curr_time - vfs_timeout * G_USEC_PER_SEC;
|
2019-05-11 09:05:16 +03:00
|
|
|
|
2019-01-26 16:26:02 +03:00
|
|
|
if (now)
|
2019-03-23 16:50:29 +03:00
|
|
|
{
|
|
|
|
/* reverse list to free nested VFSes at first */
|
|
|
|
stamps = g_slist_reverse (stamps);
|
2019-05-11 09:05:16 +03:00
|
|
|
}
|
2019-03-23 16:50:29 +03:00
|
|
|
|
2019-05-11 09:05:16 +03:00
|
|
|
/* NULLize stamps that point to expired VFS */
|
|
|
|
for (stamp = stamps; stamp != NULL; stamp = g_slist_next (stamp))
|
|
|
|
{
|
|
|
|
struct vfs_stamping *stamping = VFS_STAMPING (stamp->data);
|
2019-03-23 16:50:29 +03:00
|
|
|
|
2019-05-11 09:05:16 +03:00
|
|
|
if (now)
|
|
|
|
{
|
|
|
|
/* free VFS forced */
|
2019-03-23 16:50:29 +03:00
|
|
|
if (stamping->v->free != NULL)
|
|
|
|
stamping->v->free (stamping->id);
|
2019-05-11 09:05:16 +03:00
|
|
|
MC_PTR_FREE (stamp->data);
|
2019-03-23 16:50:29 +03:00
|
|
|
}
|
2020-03-01 19:55:34 +03:00
|
|
|
else if (stamping->time <= exp_time)
|
2019-03-23 16:50:29 +03:00
|
|
|
{
|
2019-05-11 09:05:16 +03:00
|
|
|
/* update timestamp of VFS that is in use, or free unused VFS */
|
|
|
|
if (stamping->v->nothingisopen != NULL && !stamping->v->nothingisopen (stamping->id))
|
|
|
|
stamping->time = curr_time;
|
2019-03-23 16:50:29 +03:00
|
|
|
else
|
|
|
|
{
|
|
|
|
if (stamping->v->free != NULL)
|
|
|
|
stamping->v->free (stamping->id);
|
2019-05-11 09:05:16 +03:00
|
|
|
MC_PTR_FREE (stamp->data);
|
2019-03-23 16:50:29 +03:00
|
|
|
}
|
|
|
|
}
|
2003-11-08 02:43:55 +03:00
|
|
|
}
|
2012-04-07 17:07:58 +04:00
|
|
|
|
2019-05-11 09:05:16 +03:00
|
|
|
/* then remove NULLized stamps */
|
|
|
|
stamps = g_slist_remove_all (stamps, NULL);
|
|
|
|
|
2012-04-07 17:07:58 +04:00
|
|
|
locked = FALSE;
|
2003-11-08 02:43:55 +03:00
|
|
|
}
|
|
|
|
|
2010-11-08 13:21:45 +03:00
|
|
|
/* --------------------------------------------------------------------------------------------- */
|
2003-11-08 02:43:55 +03:00
|
|
|
/*
|
|
|
|
* Return the number of seconds remaining to the vfs timeout.
|
|
|
|
* FIXME: The code should be improved to actually return the number of
|
|
|
|
* seconds until the next item times out.
|
|
|
|
*/
|
2010-11-08 13:21:45 +03:00
|
|
|
|
2003-11-08 02:43:55 +03:00
|
|
|
int
|
2012-04-07 17:07:58 +04:00
|
|
|
vfs_timeouts (void)
|
2003-11-08 02:43:55 +03:00
|
|
|
{
|
2019-01-26 16:26:02 +03:00
|
|
|
return stamps != NULL ? 10 : 0;
|
2003-11-08 02:43:55 +03:00
|
|
|
}
|
|
|
|
|
2010-11-08 13:21:45 +03:00
|
|
|
/* --------------------------------------------------------------------------------------------- */
|
2003-11-08 02:43:55 +03:00
|
|
|
|
|
|
|
void
|
|
|
|
vfs_timeout_handler (void)
|
|
|
|
{
|
2012-04-07 17:07:58 +04:00
|
|
|
vfs_expire (FALSE);
|
2003-11-08 02:43:55 +03:00
|
|
|
}
|
|
|
|
|
2010-11-08 13:21:45 +03:00
|
|
|
/* --------------------------------------------------------------------------------------------- */
|
2003-11-08 02:43:55 +03:00
|
|
|
|
|
|
|
void
|
2024-06-01 21:12:14 +03:00
|
|
|
vfs_release_path (const vfs_path_t *vpath)
|
2003-11-08 02:43:55 +03:00
|
|
|
{
|
2023-07-16 11:18:59 +03:00
|
|
|
vfsid id;
|
|
|
|
struct vfs_class *me;
|
2011-04-21 14:27:56 +04:00
|
|
|
|
2023-07-16 11:18:59 +03:00
|
|
|
me = VFS_CLASS (vfs_path_get_last_path_vfs (vpath));
|
|
|
|
id = vfs_getid (vpath);
|
|
|
|
vfs_stamp_create (me, id);
|
2003-11-08 02:43:55 +03:00
|
|
|
}
|
|
|
|
|
2010-11-08 13:21:45 +03:00
|
|
|
/* --------------------------------------------------------------------------------------------- */
|
2003-11-08 02:43:55 +03:00
|
|
|
/* Free all data */
|
2010-11-08 13:21:45 +03:00
|
|
|
|
2003-11-08 02:43:55 +03:00
|
|
|
void
|
|
|
|
vfs_gc_done (void)
|
|
|
|
{
|
2019-03-23 16:50:29 +03:00
|
|
|
vfs_expire (TRUE);
|
2003-11-08 02:43:55 +03:00
|
|
|
}
|
2010-11-08 13:21:45 +03:00
|
|
|
|
|
|
|
/* --------------------------------------------------------------------------------------------- */
|