mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Rework open file resource management
This commit is contained in:
parent
a47842e2f8
commit
e32985e490
11 changed files with 453 additions and 303 deletions
|
|
@ -29,6 +29,16 @@ EXTERN_C_BEGIN
|
|||
* Basic FUSE API *
|
||||
* ----------------------------------------------------------- */
|
||||
|
||||
#define INVALID_BACKING_ID (0)
|
||||
|
||||
static
|
||||
inline
|
||||
int
|
||||
fuse_backing_id_is_valid(const int backing_id_)
|
||||
{
|
||||
return (backing_id_ > INVALID_BACKING_ID);
|
||||
}
|
||||
|
||||
struct fuse_dirents_t;
|
||||
typedef struct fuse_dirents_t fuse_dirents_t;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue