Changeset a31c1ccf in mainline for uspace/srv/fs/fat/fat_idx.c


Ignore:
Timestamp:
2008-11-25T22:45:38Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e5557131
Parents:
d1b625b
Message:

Implement fat_unlink().

File:
1 edited

Legend:

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

    rd1b625b ra31c1ccf  
    437437}
    438438
     439void fat_idx_hashout(fat_idx_t *idx)
     440{
     441        unsigned long pkey[] = {
     442                [UPH_DH_KEY] = idx->dev_handle,
     443                [UPH_PFC_KEY] = idx->pfc,
     444                [UPH_PDI_KEY] = idx->pdi,
     445        };
     446
     447        futex_down(&used_futex);
     448        hash_table_remove(&up_hash, pkey, 3);
     449        futex_up(&used_futex);
     450}
     451
    439452fat_idx_t *
    440453fat_idx_get_by_index(dev_handle_t dev_handle, fs_index_t index)
Note: See TracChangeset for help on using the changeset viewer.