Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 3550 → Rev 3551

/trunk/uspace/srv/fs/fat/fat_fat.c
360,7 → 360,8
fat_cluster_t lcl;
uint8_t fatno;
 
if (fat_clusters_get(bs, nodep->idx->dev_handle, nodep->firstc) == 0) {
if (fat_cluster_walk(bs, nodep->idx->dev_handle, nodep->firstc, &lcl,
NULL, (uint16_t) -1) == 0) {
/* No clusters allocated to the node yet. */
nodep->firstc = host2uint16_t_le(mcl);
nodep->dirty = true; /* need to sync node */