Commit Diff


commit - 345979a989141d7ce01fe1cd0ffde2a62b3d1955
commit + 56e5a54fd8120b5289535879ee897d3f62811278
blob - 9c3028721fb958beb8eff0c3b15a615126939f2b
blob + 60f1815f4c68ff9a076e24952446501c69bc87b0
--- unreliablefs.c
+++ unreliablefs.c
@@ -48,7 +48,9 @@ static struct fuse_operations unreliable_ops = {
     .ftruncate   = unreliable_ftruncate,
     .fgetattr    = unreliable_fgetattr,
     .lock        = unreliable_lock,
+#if !defined(__OpenBSD__)
     .ioctl       = unreliable_ioctl,
+#endif /* __OpenBSD__ */
 #ifdef HAVE_FLOCK
     .flock       = unreliable_flock,
 #endif /* HAVE_FLOCK */
blob - f5c50e4c0504840e9c3bfb0fdd573200b6e7aeaa
blob + 5c16fbcc51d9976e14d909347c54b68029f1d4e4
--- unreliablefs_ops.c
+++ unreliablefs_ops.c
@@ -626,6 +626,7 @@ int unreliable_lock(const char *path, struct fuse_file
     return 0;
 }
 
+#if !defined(__OpenBSD__)
 int unreliable_ioctl(const char *path, int cmd, void *arg,
                      struct fuse_file_info *fi,
                      unsigned int flags, void *data)
@@ -642,6 +643,7 @@ int unreliable_ioctl(const char *path, int cmd, void *
     
     return ret;
 }
+#endif /* __OpenBSD__ */
 
 #ifdef HAVE_FLOCK
 int unreliable_flock(const char *path, struct fuse_file_info *fi, int op)
blob - a18725fd37d00d30698a131078382b992bdef7f8
blob + f64652645137083a793947980dcdcb5676041ff3
--- unreliablefs_ops.h
+++ unreliablefs_ops.h
@@ -50,8 +50,10 @@ int unreliable_ftruncate(const char *, off_t, struct f
 int unreliable_fgetattr(const char *, struct stat *, struct fuse_file_info *);
 int unreliable_lock(const char *, struct fuse_file_info *, int cmd,
                  struct flock *);
+#if !defined(__OpenBSD__)
 int unreliable_ioctl(const char *, int cmd, void *arg,
                   struct fuse_file_info *, unsigned int flags, void *data);
+#endif
 int unreliable_write_buf(const char *, struct fuse_bufvec *buf, off_t off,
                       struct fuse_file_info *);
 int unreliable_read_buf(const char *, struct fuse_bufvec **bufp,