~ubuntu-branches/ubuntu/raring/virtualbox-ose/raring

« back to all changes in this revision

Viewing changes to src/VBox/Runtime/r3/freebsd/fileaio-freebsd.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2011-01-30 23:27:25 UTC
  • mfrom: (0.3.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20110130232725-2ouajjd2ggdet0zd
Tags: 4.0.2-dfsg-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - Add Apport hook.
    - debian/virtualbox-ose.files/source_virtualbox-ose.py
    - debian/virtualbox-ose.install
  - Drop *-source packages.
* Drop ubuntu-01-fix-build-gcc45.patch, fixed upstream.
* Drop ubuntu-02-as-needed.patch, added to the Debian package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: fileaio-freebsd.cpp $ */
 
1
/* $Id: fileaio-freebsd.cpp 33540 2010-10-28 09:27:05Z vboxsync $ */
2
2
/** @file
3
3
 * IPRT - File async I/O, native implementation for the FreeBSD host platform.
4
4
 */
88
88
    void                  *pvUser;
89
89
    /** Completion context we are assigned to. */
90
90
    PRTFILEAIOCTXINTERNAL  pCtxInt;
91
 
    /** Number of bytes actually transfered. */
 
91
    /** Number of bytes actually transferred. */
92
92
    size_t                 cbTransfered;
93
93
    /** Status code. */
94
94
    int                    Rc;
552
552
            /*
553
553
             * Retrieve the status code here already because the
554
554
             * user may omit the RTFileAioReqGetRC() call and
555
 
             * we will leak kernel ressources then.
 
555
             * we will leak kernel resources then.
556
556
             * This will result in errors during submission
557
557
             * of other requests as soon as the max_aio_queue_per_proc
558
558
             * limit is reached.