ntvfs: Remove pvfs_aio.c
[metze/samba/wip.git] / source4 / ntvfs / posix / pvfs_write.c
index e4725ec579f22c9e785465adcaba2b990f8ef453..97733255e295bd1c9712abae75981781a2016f5a 100644 (file)
@@ -124,16 +124,6 @@ NTSTATUS pvfs_write(struct ntvfs_module_context *ntvfs,
                                        wr->writex.in.count,
                                        wr->writex.in.offset);
        } else {
-#ifdef HAVE_LINUX_AIO
-               /* possibly try an aio write */
-               if ((req->async_states->state & NTVFS_ASYNC_STATE_MAY_ASYNC) &&
-                   (pvfs->flags & PVFS_FLAG_LINUX_AIO)) {
-                       status = pvfs_aio_pwrite(req, wr, f);
-                       if (NT_STATUS_IS_OK(status)) {
-                               return NT_STATUS_OK;
-                       }
-               }
-#endif
                ret = pwrite(f->handle->fd, 
                             wr->writex.in.data, 
                             wr->writex.in.count,