Changeset 4ba3535 in mainline
- Timestamp:
- 2011-08-14T19:38:44Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d9aeab3
- Parents:
- d8df2fb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/exfat/exfat_directory.c
rd8df2fb r4ba3535 328 328 int exfat_directory_erase_file(exfat_directory_t *di, aoff64_t pos) 329 329 { 330 /* TODO */ 330 int rc, count; 331 exfat_dentry_t *de; 332 333 rc = exfat_directory_get(di, &de); 334 if (rc != EOK) 335 return rc; 336 count = de->file.count+1; 337 338 while (count) { 339 rc = exfat_directory_get(di, &de); 340 if (rc != EOK) 341 return rc; 342 de->type &= (~EXFAT_TYPE_USED); 343 di->b->dirty = true; 344 345 rc = exfat_directory_next(di); 346 if (rc!=EOK) 347 return rc; 348 count--; 349 } 331 350 return EOK; 332 351 }
Note:
See TracChangeset
for help on using the changeset viewer.