Changeset 2616965d in mainline for uspace/srv/fs/tmpfs/tmpfs_ops.c


Ignore:
Timestamp:
2008-02-17T13:59:52Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
16105cba
Parents:
f17667a
Message:

When freeing up a TMPFS node, it should also be removed from the dentries hash table.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/tmpfs/tmpfs_ops.c

    rf17667a r2616965d  
    515515        assert(!dentry->sibling);
    516516
     517        hash_table_remove(&dentries, &index, 1);
     518
    517519        if (dentry->type == TMPFS_FILE)
    518520                free(dentry->data);
Note: See TracChangeset for help on using the changeset viewer.