Changeset 616e73c in mainline for uspace/srv/fs/fat
- Timestamp:
- 2011-06-27T18:51:15Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- efa8ed93
- Parents:
- c4bbca8
- Location:
- uspace/srv/fs/fat
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat_fat.c
rc4bbca8 r616e73c 346 346 byte2 = ((uint8_t*) b->data)[(offset % BPS(bs))+1]; 347 347 348 #ifdef __BE__ 349 *value = byte2 | (byte1 << 8); 350 #else 351 *value = byte1 | (byte2 << 8); 352 #endif 353 354 *value = uint16_t_le2host(*value); 348 *value = uint16_le2host(byte1 | (byte2 << 8)); 355 349 if (IS_ODD(clst)) 356 350 *value = (*value) >> 4; -
uspace/srv/fs/fat/fat_ops.c
rc4bbca8 r616e73c 108 108 node->dirty = false; 109 109 node->lastc_cached_valid = false; 110 node->lastc_cached_value = FAT32_CLST_LAST1;110 node->lastc_cached_value = 0; 111 111 node->currc_cached_valid = false; 112 112 node->currc_cached_bn = 0; 113 node->currc_cached_value = FAT32_CLST_LAST1;113 node->currc_cached_value = 0; 114 114 } 115 115
Note:
See TracChangeset
for help on using the changeset viewer.
