tst: memfs-fuse3: #if0 ioctl

This commit is contained in:
Bill Zissimopoulos 2019-10-21 20:21:36 -07:00
parent 5131ed5c01
commit 3cd4219f7f
No known key found for this signature in database
GPG Key ID: 3D4F95D52C7B3EA3

View File

@ -77,7 +77,9 @@ public:
0, // lock 0, // lock
utimens, utimens,
0, // bmap 0, // bmap
#if 0
ioctl, ioctl,
#endif
}; };
return fuse_main(argc, argv, &ops, this); return fuse_main(argc, argv, &ops, this);
} }
@ -497,11 +499,13 @@ private:
return 0; return 0;
} }
#if 0
static int ioctl(const char *path, int cmd, void *arg, struct fuse_file_info *fi, static int ioctl(const char *path, int cmd, void *arg, struct fuse_file_info *fi,
unsigned int flags, void *data) unsigned int flags, void *data)
{ {
return -ENOSYS; return -ENOSYS;
} }
#endif
std::tuple<std::shared_ptr<node_t>, std::string, std::shared_ptr<node_t>> std::tuple<std::shared_ptr<node_t>, std::string, std::shared_ptr<node_t>>
lookup_node(const char *path, node_t *ancestor = nullptr) lookup_node(const char *path, node_t *ancestor = nullptr)