tst: memfs-fuse3: #if0 ioctl

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

View File

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