remove FileInfo and keep only file descriptor

This commit is contained in:
Antonio SJ Musumeci
2015-03-05 22:15:54 -05:00
parent 15b2c8be1b
commit 91671d7364
15 changed files with 13 additions and 107 deletions
+1 -2
View File
@@ -28,7 +28,6 @@
#include <stdlib.h>
#include "fileinfo.hpp"
#include "write.hpp"
static
@@ -59,7 +58,7 @@ namespace mergerfs
off_t offset,
struct fuse_file_info *ffi)
{
return _write_buf(((FileInfo*)ffi->fh)->fd,
return _write_buf(ffi->fh,
*src,
offset);
}