我收到此错误:
int (*)(const char*, fuse_file_info*)
错误:从到的无效转换int (*)(const char*, int)
当我做
static struct fuse_operations vkfs_opers;
...
vkfs_opers.open = vkfs_open;
但函数声明为
static int vkfs_open (const char *path, struct fuse_file_info *fi)
在结构fuse_operations
上它声明为
int (*open) (const char *, struct fuse_file_info *);