mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
general cleanup, slight memory reduction
This commit is contained in:
parent
2d8fab534a
commit
1b26f4908e
53 changed files with 4600 additions and 3672 deletions
|
|
@ -54,8 +54,8 @@ namespace l
|
|||
|
||||
static
|
||||
void
|
||||
config_to_ffi_flags(const Config &config_,
|
||||
fuse_file_info *ffi_)
|
||||
config_to_ffi_flags(const Config &config_,
|
||||
fuse_file_info_t *ffi_)
|
||||
{
|
||||
switch(config_.cache_files)
|
||||
{
|
||||
|
|
@ -166,9 +166,9 @@ namespace l
|
|||
namespace FUSE
|
||||
{
|
||||
int
|
||||
create(const char *fusepath_,
|
||||
mode_t mode_,
|
||||
fuse_file_info *ffi_)
|
||||
create(const char *fusepath_,
|
||||
mode_t mode_,
|
||||
fuse_file_info_t *ffi_)
|
||||
{
|
||||
const fuse_context *fc = fuse_get_context();
|
||||
const Config &config = Config::ro();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue