Changes in uspace/srv/fs/exfat/exfat_ops.c [7cede12c:80ec9b8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/exfat/exfat_ops.c
r7cede12c r80ec9b8 405 405 406 406 if (!nodep->fragmented) { 407 rc = exfat_bitmap_append_clusters(bs, nodep, clusters);407 rc = bitmap_append_clusters(bs, nodep, clusters); 408 408 if (rc != ENOSPC) 409 409 return rc; … … 411 411 nodep->fragmented = true; 412 412 nodep->dirty = true; /* need to sync node */ 413 rc = exfat_bitmap_replicate_clusters(bs, nodep);413 rc = bitmap_replicate_clusters(bs, nodep); 414 414 if (rc != EOK) 415 415 return rc; … … 457 457 458 458 clsts = prev_clsts - new_clsts; 459 rc = exfat_bitmap_free_clusters(bs, nodep, clsts);459 rc = bitmap_free_clusters(bs, nodep, clsts); 460 460 if (rc != EOK) 461 461 return rc; … … 704 704 nodep->firstc); 705 705 else 706 rc = exfat_bitmap_free_clusters(bs, nodep,706 rc = bitmap_free_clusters(bs, nodep, 707 707 ROUND_UP(nodep->size, BPC(bs)) / BPC(bs)); 708 708 } … … 758 758 759 759 fibril_mutex_unlock(&parentp->idx->lock); 760 if (rc != EOK) 761 return rc; 762 760 763 fibril_mutex_lock(&childp->idx->lock); 764 761 765 762 766 childp->idx->pfc = parentp->firstc; … … 1459 1463 } 1460 1464 1461 int rc2 = exfat_node_put(fn); 1462 if (rc == EOK && rc2 != EOK) 1463 rc = rc2; 1464 1465 (void) exfat_node_put(fn); 1465 1466 return rc; 1466 1467 }
Note:
See TracChangeset
for help on using the changeset viewer.