Changeset 071ff5fa in mainline
- Timestamp:
- 2011-12-09T21:11:38Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c62751f
- Parents:
- 2747dd85
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/exfat/exfat_fat.c
r2747dd85 r071ff5fa 322 322 (found == 0) ? EXFAT_CLST_EOF : lifo[found - 1]); 323 323 if (rc != EOK) 324 break;324 goto exit_error; 325 325 found++; 326 326 rc = bitmap_set_cluster(bs, service_id, clst); 327 327 if (rc != EOK) 328 break;328 goto exit_error; 329 329 330 330 } … … 339 339 } 340 340 341 rc = ENOSPC; 342 343 exit_error: 344 341 345 /* If something wrong - free the clusters */ 342 346 while (found--) { … … 347 351 free(lifo); 348 352 fibril_mutex_unlock(&exfat_alloc_lock); 349 return ENOSPC;353 return rc; 350 354 } 351 355
Note:
See TracChangeset
for help on using the changeset viewer.