mirror of https://github.com/trapexit/mergerfs.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
485 B
30 lines
485 B
#pragma once
|
|
|
|
#include "ugid.hpp"
|
|
|
|
#include "fuse.h"
|
|
|
|
namespace FUSE
|
|
{
|
|
static
|
|
inline
|
|
int
|
|
passthrough_open(const fuse_context *fc_,
|
|
const int fd_)
|
|
{
|
|
const ugid::SetRootGuard _;
|
|
|
|
return fuse_passthrough_open(fc_,fd_);
|
|
}
|
|
|
|
static
|
|
inline
|
|
int
|
|
passthrough_close(const fuse_context *fc_,
|
|
const int backing_id_)
|
|
{
|
|
const ugid::SetRootGuard _;
|
|
|
|
return fuse_passthrough_close(fc_,backing_id_);
|
|
}
|
|
}
|