VirtualBox

Changeset 40900 in vbox


Ignore:
Timestamp:
Apr 13, 2012 12:33:25 PM (13 years ago)
Author:
vboxsync
Message:

spelling fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/sharedfolders/regops.c

    r39789 r40900  
     1/* $Id$ */
    12/** @file
    2  *
    3  * vboxsf -- VirtualBox Guest Additions for Linux:
    4  * Regular file inode and file operations
     3 * vboxsf - VBox Linux Shared Folders, Regular file inode and file operations.
    54 */
    65
     
    2322#include "vfsmod.h"
    2423
    25 static void *alloc_bounch_buffer(size_t *tmp_sizep, PRTCCPHYS physp, size_t
     24static void *alloc_bounce_buffer(size_t *tmp_sizep, PRTCCPHYS physp, size_t
    2625                                 xfer_size, const char *caller)
    2726{
     
    5150}
    5251
    53 static void free_bounch_buffer(void *tmp)
     52static void free_bounce_buffer(void *tmp)
    5453{
    5554    kfree (tmp);
     
    127126        return 0;
    128127
    129     tmp = alloc_bounch_buffer(&tmp_size, &tmp_phys, size, __PRETTY_FUNCTION__);
     128    tmp = alloc_bounce_buffer(&tmp_size, &tmp_phys, size, __PRETTY_FUNCTION__);
    130129    if (!tmp)
    131130        return -ENOMEM;
     
    160159
    161160    *off += total_bytes_read;
    162     free_bounch_buffer(tmp);
     161    free_bounce_buffer(tmp);
    163162    return total_bytes_read;
    164163
    165164fail:
    166     free_bounch_buffer(tmp);
     165    free_bounce_buffer(tmp);
    167166    return err;
    168167}
     
    214213        return 0;
    215214
    216     tmp = alloc_bounch_buffer(&tmp_size, &tmp_phys, size, __PRETTY_FUNCTION__);
     215    tmp = alloc_bounce_buffer(&tmp_size, &tmp_phys, size, __PRETTY_FUNCTION__);
    217216    if (!tmp)
    218217        return -ENOMEM;
     
    260259
    261260    sf_i->force_restat = 1;
    262     free_bounch_buffer(tmp);
     261    free_bounce_buffer(tmp);
    263262    return total_bytes_written;
    264263
    265264fail:
    266     free_bounch_buffer(tmp);
     265    free_bounce_buffer(tmp);
    267266    return err;
    268267}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette