我得到这个错误:如何使用Fuse文件系统进行转换?
Error: invalid conversion from
int (*)(const char*, fuse_file_info*)
toint (*)(const char*, int)
当我这样做
static struct fuse_operations vkfs_opers;
...
vkfs_opers.open = vkfs_open;
但功能declarated为
static int vkfs_open (const char *path, struct fuse_file_info *fi)
,结构fuse_operations
它declarated作为
int (*open) (const char *, struct fuse_file_info *);
,谢谢,我解决了问题... – Antigluk 2010-02-19 20:35:07