Changeset b713492b in mainline


Ignore:
Timestamp:
2009-08-12T18:22:36Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5f116e7
Parents:
00a9625
Message:

Fix the root directory check when fat_link() needs to allocate a new cluster.

File:
1 edited

Legend:

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

    r00a9625 rb713492b  
    462462         * We need to grow the parent in order to create a new unused dentry.
    463463         */
    464         if (parentp->idx->pfc == FAT_CLST_ROOT) {
     464        if (parentp->firstc == FAT_CLST_ROOT) {
    465465                /* Can't grow the root directory. */
    466466                fibril_mutex_unlock(&parentp->idx->lock);
Note: See TracChangeset for help on using the changeset viewer.