Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset af4dec0 in mainline


Ignore:
Timestamp:
2011-07-07T20:06:08Z (10 years ago)
Author:
Oleg Romanenko <romanenko.oleg@…>
Branches:
lfn, master
Children:
9f98578
Parents:
3e018e45
Message:

Support for using new function fat_valid_name in fat_match

File:
1 edited

Legend:

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

    r3e018e45 raf4dec0  
    587587        fat_dentry_t de;
    588588        int rc;
    589         wchar_t wname[FAT_LFN_NAME_SIZE];
    590589
    591590        fibril_mutex_lock(&childp->lock);
     
    600599        fibril_mutex_unlock(&childp->lock);
    601600
    602         rc = str_to_wstr(wname, FAT_LFN_NAME_SIZE, name);
    603         if (rc != EOK)
    604                 return rc;
    605 
    606         if (!fat_lfn_valid(wname))
     601        if (!fat_valid_name(name))
    607602                return ENOTSUP;
    608603
Note: See TracChangeset for help on using the changeset viewer.