Changeset 8e7c9fe in mainline for uspace/srv/fs/fat/fat_ops.c


Ignore:
Timestamp:
2014-09-12T03:45:25Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c53b58e
Parents:
3eb0c85 (diff), 105d8d6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge mainline changes

most usb changes were reverted. blink and usbmass were fixed
known problems:
ehci won't initialize
usbmast asserts on unmount (happens on mainline too)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/fat/fat_ops.c

    r3eb0c85 r8e7c9fe  
    5555#include <assert.h>
    5656#include <fibril_synch.h>
    57 #include <sys/mman.h>
    5857#include <align.h>
    5958#include <malloc.h>
     
    931930        /* Parse mount options. */
    932931        char *mntopts = (char *) opts;
    933         char *saveptr;
    934932        char *opt;
    935         while ((opt = strtok_r(mntopts, " ,", &saveptr)) != NULL) {
     933        while ((opt = str_tok(mntopts, " ,", &mntopts)) != NULL) {
    936934                if (str_cmp(opt, "wtcache") == 0)
    937935                        cmode = CACHE_MODE_WT;
    938936                else if (str_cmp(opt, "nolfn") == 0)
    939937                        instance->lfn_enabled = false;
    940                 mntopts = NULL;
    941938        }
    942939
Note: See TracChangeset for help on using the changeset viewer.