http://bugs.winehq.org/show_bug.cgi?id=17195
--- Comment #129 from Adam Martinson adam.r.martinson@gmail.com 2013-01-04 00:20:42 CST --- (In reply to comment #128)
or something along these lines. Same for pipe_instance_ioctl. When you switch to pipe_end_fd_ops, these lines will never be called, so you may remove them in a later patch (which can even be a separate one).
That works for flush I suppose, ioctl will be a little trickier but I think it should be doable.