Changeset 7ece4247 in mainline for uspace/srv/fs/fat/fat_fat.c
- Timestamp:
- 2011-08-26T23:36:00Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0be611b
- Parents:
- 4bf6895
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat_fat.c
r4bf6895 r7ece4247 289 289 * @return EOK or a negative error code. 290 290 */ 291 int291 static int 292 292 fat_get_cluster_fat12(fat_bs_t *bs, service_id_t service_id, unsigned fatno, 293 293 fat_cluster_t clst, fat_cluster_t *value) … … 359 359 * @return EOK or a negative error code. 360 360 */ 361 int361 static int 362 362 fat_get_cluster_fat16(fat_bs_t *bs, service_id_t service_id, unsigned fatno, 363 363 fat_cluster_t clst, fat_cluster_t *value) … … 390 390 * @return EOK or a negative error code. 391 391 */ 392 int392 static int 393 393 fat_get_cluster_fat32(fat_bs_t *bs, service_id_t service_id, unsigned fatno, 394 394 fat_cluster_t clst, fat_cluster_t *value) … … 451 451 * @return EOK on success or a negative error code. 452 452 */ 453 int453 static int 454 454 fat_set_cluster_fat12(fat_bs_t *bs, service_id_t service_id, unsigned fatno, 455 455 fat_cluster_t clst, fat_cluster_t value) … … 494 494 return ERANGE; 495 495 } 496 } 497 else 496 } else 498 497 byte2 = ((uint8_t*) b->data)[(offset % BPS(bs)) + 1]; 499 498 … … 540 539 * @return EOK on success or a negative error code. 541 540 */ 542 int541 static int 543 542 fat_set_cluster_fat16(fat_bs_t *bs, service_id_t service_id, unsigned fatno, 544 543 fat_cluster_t clst, fat_cluster_t value) … … 573 572 * @return EOK on success or a negative error code. 574 573 */ 575 int574 static int 576 575 fat_set_cluster_fat32(fat_bs_t *bs, service_id_t service_id, unsigned fatno, 577 576 fat_cluster_t clst, fat_cluster_t value)
Note:
See TracChangeset
for help on using the changeset viewer.