mirror of
https://github.com/openharmony/third_party_ntfs-3g.git
synced 2026-07-01 06:41:57 -04:00
修改ntfs-3g的版本信息,开启jemalloc的TCache能力
Signed-off-by: Wang Luyao <wangluyao35@huawei.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (C) 2021 Huawei Device Co., Ltd.
|
||||
*
|
||||
*
|
||||
* This program/include file 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 2 of the License, or
|
||||
@@ -364,7 +364,7 @@
|
||||
#define PACKAGE_NAME "ntfs-3g"
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#define PACKAGE_STRING "ntfs-3g 2021.8.30"
|
||||
#define PACKAGE_STRING "ntfs-3g 2022.10.30"
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#define PACKAGE_TARNAME "ntfs-3g"
|
||||
@@ -373,7 +373,7 @@
|
||||
#define PACKAGE_URL ""
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION "2021.8.30"
|
||||
#define PACKAGE_VERSION "2022.10.30"
|
||||
|
||||
/* POSIX ACL support */
|
||||
/* #undef POSIXACLS */
|
||||
@@ -404,7 +404,7 @@
|
||||
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "2021.8.30"
|
||||
#define VERSION "2022.10.30"
|
||||
|
||||
/* Define to 1 if this is a Windows OS */
|
||||
/* #undef WINDOWS */
|
||||
|
||||
@@ -108,6 +108,7 @@
|
||||
#include "misc.h"
|
||||
#include "ioctl.h"
|
||||
#include "plugin.h"
|
||||
#include "malloc.h"
|
||||
|
||||
#include "ntfs-3g_common.h"
|
||||
|
||||
@@ -4325,6 +4326,10 @@ static void setup_logging(char *parsed_options)
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
mallopt(M_OHOS_CONFIG, M_TCACHE_NORMAL_MODE);
|
||||
mallopt(M_OHOS_CONFIG, M_ENABLE_OPT_TCACHE);
|
||||
mallopt(M_SET_THREAD_CACHE, M_THREAD_CACHE_ENABLE);
|
||||
mallopt(M_DELAYED_FREE, M_DELAYED_FREE_ENABLE);
|
||||
char *parsed_options = NULL;
|
||||
struct fuse *fh;
|
||||
#if !(defined(__sun) && defined (__SVR4))
|
||||
|
||||
Reference in New Issue
Block a user