Changeset d44aabd in mainline for uspace/srv/fs/fat/fat_ops.c


Ignore:
Timestamp:
2009-08-12T20:50:11Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
64cbf94
Parents:
d290ef4
Message:

Grow the parent node size if fat_link() allocates a new cluster.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/fat/fat_ops.c

    rd290ef4 rd44aabd  
    462462        fat_zero_cluster(bs, parentp->idx->dev_handle, mcl);
    463463        fat_append_clusters(bs, parentp, mcl);
     464        parentp->size += bps * bs->spc;
     465        parentp->dirty = true;          /* need to sync node */
    464466        b = fat_block_get(bs, parentp, i, BLOCK_FLAGS_NONE);
    465467        d = (fat_dentry_t *)b->data;
Note: See TracChangeset for help on using the changeset viewer.