Changeset 1433ecda in mainline for uspace/srv/fs/exfat/exfat_bitmap.c
- Timestamp:
- 2018-04-04T15:42:37Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2c4e1cc
- Parents:
- 47b2d7e3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/exfat/exfat_bitmap.c
r47b2d7e3 r1433ecda 167 167 clst = firstc; 168 168 169 while (clst < firstc + count 169 while (clst < firstc + count) { 170 170 rc = exfat_bitmap_set_cluster(bs, service_id, clst); 171 171 if (rc != EOK) { … … 211 211 endc++; 212 212 } 213 startc = endc +1;213 startc = endc + 1; 214 214 } 215 215 return ENOSPC; … … 229 229 clst = lastc + 1; 230 230 while (exfat_bitmap_is_free(bs, nodep->idx->service_id, clst) == EOK) { 231 if (clst - lastc == count) {231 if (clst - lastc == count) { 232 232 return exfat_bitmap_set_clusters(bs, nodep->idx->service_id, 233 233 lastc + 1, count);
Note:
See TracChangeset
for help on using the changeset viewer.