mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
add support for ioctl on directories. closes #27
This commit is contained in:
parent
cfe7609bcd
commit
075d62d647
12 changed files with 368 additions and 7 deletions
|
|
@ -22,8 +22,6 @@
|
|||
THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include <fuse.h>
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
|
|
@ -57,10 +55,16 @@ namespace mergerfs
|
|||
search = &Policy::ff;
|
||||
}
|
||||
|
||||
const Config&
|
||||
get(const struct fuse_context *fc)
|
||||
{
|
||||
return *((Config*)fc->private_data);
|
||||
}
|
||||
|
||||
const Config&
|
||||
get(void)
|
||||
{
|
||||
return (*((Config*)fuse_get_context()->private_data));
|
||||
return get(fuse_get_context());
|
||||
}
|
||||
|
||||
Config&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue