Changeset e8975278 in mainline for uspace/srv/fs/exfat/exfat_ops.c
- Timestamp:
- 2018-05-10T15:14:02Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1420cae9
- Parents:
- ae7d03c
- git-author:
- Jiri Svoboda <jiri@…> (2018-05-10 07:53:56)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-05-10 15:14:02)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/exfat/exfat_ops.c
rae7d03c re8975278 1198 1198 } 1199 1199 1200 /* exfat_fsinfo(bs, service_id); */ 1200 if (0) 1201 exfat_fsinfo(bs, service_id); 1201 1202 1202 1203 *rrfn = FS_NODE(rootp); … … 1237 1238 1238 1239 /* Print debug info */ 1239 /*1240 1240 static void exfat_fsinfo(exfat_bs_t *bs, service_id_t service_id) 1241 1241 { … … 1252 1252 printf("Bytes per sector: %d\n", BPS(bs)); 1253 1253 printf("Sectors per cluster: %d\n", SPC(bs)); 1254 printf("KBytes per cluster: %d\n", SPC(bs) *BPS(bs)/1024);1254 printf("KBytes per cluster: %d\n", SPC(bs) * BPS(bs) / 1024); 1255 1255 1256 1256 int i, rc; 1257 1257 exfat_cluster_t clst; 1258 for (i =0; i<=7; i++) {1258 for (i = 0; i <= 7; i++) { 1259 1259 rc = exfat_get_cluster(bs, service_id, i, &clst); 1260 1260 if (rc != EOK) 1261 1261 return; 1262 1262 printf("Clst %d: %x", i, clst); 1263 if (i >=2)1264 printf(", Bitmap: %d\n", bitmap_is_free(bs, service_id, i) !=EOK);1263 if (i >= 2) 1264 printf(", Bitmap: %d\n", bitmap_is_free(bs, service_id, i) != EOK); 1265 1265 else 1266 1266 printf("\n"); 1267 1267 } 1268 1268 } 1269 */1270 1269 1271 1270 static errno_t exfat_fsprobe(service_id_t service_id, vfs_fs_probe_info_t *info)
Note:
See TracChangeset
for help on using the changeset viewer.