VirtualBox

Changeset 21041 in vbox for trunk


Ignore:
Timestamp:
Jun 29, 2009 4:29:37 PM (16 years ago)
Author:
vboxsync
Message:

Linux shared folders: fix for Linux 2.6.24 ... 2.6.27.something kernels

File:
1 edited

Legend:

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

    r20710 r21041  
    551551               unsigned len, unsigned flags, struct page **pagep, void **fsdata)
    552552{
    553         pgoff_t index = pos >> PAGE_SHIFT;
    554 
    555         TRACE ();
    556 
    557         *pagep = grab_cache_page_write_begin(mapping, index, flags);
    558         if (!*pagep)
    559                 return -ENOMEM;
    560         return 0;
     553        TRACE ();
     554
     555        return simple_write_begin(file, mapping, pos, len, flags, pagep, fsdata);
    561556}
    562557
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