Changes in / [22a8a9b:ab9f443] in mainline
- Location:
- uspace/srv/fs/fat
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat_dentry.c
r22a8a9b rab9f443 334 334 while (i < count) { 335 335 if ((ch = str_decode(src, &off, STR_NO_LIMIT)) != 0) { 336 if (ascii_check(ch) & &IS_D_CHAR(ch))336 if (ascii_check(ch) & IS_D_CHAR(ch)) 337 337 *dst = toupper(ch); 338 338 else -
uspace/srv/fs/fat/fat_directory.c
r22a8a9b rab9f443 162 162 int rc; 163 163 164 void *data;165 fat_instance_t *instance;166 167 rc = fs_instance_get(di->nodep->idx->service_id, &data);168 assert(rc == EOK);169 instance = (fat_instance_t *) data;170 171 164 do { 172 165 rc = fat_directory_get(di, &d); … … 184 177 long_entry_count--; 185 178 if ((FAT_LFN_ORDER(d) == long_entry_count) && 186 179 (checksum == FAT_LFN_CHKSUM(d))) { 187 180 /* Right order! */ 188 181 fat_lfn_get_entry(d, wname, … … 196 189 long_entry = false; 197 190 } 198 } else if (FAT_IS_LFN(d) && instance->lfn_enabled) {191 } else if (FAT_IS_LFN(d)) { 199 192 /* We found Last long entry! */ 200 193 if (FAT_LFN_COUNT(d) <= FAT_LFN_MAX_COUNT) { … … 315 308 checksum = fat_dentry_chksum(de->name); 316 309 317 rc = fat_directory_seek(di, start_pos +long_entry_count);310 rc = fat_directory_seek(di, start_pos+long_entry_count); 318 311 if (rc != EOK) 319 312 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.