Changeset a35b458 in mainline for uspace/srv/fs/fat/fat_fat.c
- Timestamp:
- 2018-03-02T20:10:49Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f1380b7
- Parents:
- 3061bc1
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:38:31)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:10:49)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat_fat.c
r3061bc1 ra35b458 344 344 else 345 345 *value = (*value) & FAT12_MASK; 346 346 347 347 rc = block_put(b); 348 348 … … 463 463 if (offset / BPS(bs) >= SF(bs)) 464 464 return ERANGE; 465 465 466 466 rc = block_get(&b, service_id, RSCNT(bs) + SF(bs) * fatno + 467 467 offset / BPS(bs), BLOCK_FLAGS_NONE); … … 687 687 if (!lifo) 688 688 return ENOMEM; 689 689 690 690 /* 691 691 * Search FAT1 for unused clusters.
Note:
See TracChangeset
for help on using the changeset viewer.