Changeset a35b458 in mainline for uspace/srv/fs/fat/fat_ops.c
- Timestamp:
- 2018-03-02T20:10:49Z (6 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_ops.c
r3061bc1 ra35b458 381 381 service_id = parentp->idx->service_id; 382 382 fibril_mutex_unlock(&parentp->idx->lock); 383 383 384 384 fat_directory_t di; 385 385 rc = fat_directory_open(parentp, &di); … … 716 716 assert(childp->lnkcnt == 1); 717 717 fibril_mutex_lock(&childp->idx->lock); 718 718 719 719 fat_directory_t di; 720 720 rc = fat_directory_open(parentp, &di); … … 856 856 { 857 857 fat_bs_t *bs; 858 858 859 859 bs = block_bb_get(service_id); 860 860 *count = (SPC(bs)) ? TS(bs) / SPC(bs) : 0; … … 883 883 } 884 884 *count = block_count; 885 885 886 886 return EOK; 887 887 } … … 1330 1330 int flags = BLOCK_FLAGS_NONE; 1331 1331 errno_t rc; 1332 1332 1333 1333 rc = fat_node_get(&fn, service_id, index); 1334 1334 if (rc != EOK)
Note:
See TracChangeset
for help on using the changeset viewer.