mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
wrap most posix filesystem functions
This commit is contained in:
parent
18d684cd16
commit
1dc7bff6e6
69 changed files with 1262 additions and 227 deletions
|
|
@ -16,18 +16,17 @@
|
|||
|
||||
#include <fuse.h>
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "errno.hpp"
|
||||
#include "fileinfo.hpp"
|
||||
#include "fs_base_close.hpp"
|
||||
|
||||
static
|
||||
int
|
||||
_release(FileInfo *fi)
|
||||
{
|
||||
::close(fi->fd);
|
||||
fs::close(fi->fd);
|
||||
|
||||
delete fi;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue