diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-05-18 13:45:14 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-05-28 14:51:53 +0200 |
commit | 6349d15921134adb4491eb9ce87720a0281a7bd6 (patch) | |
tree | f651acbef4d2b09ffda3426379136e138c874d3b /console | |
parent | 94fecd72f41542c8dfa82bdf7b47742f8c29b321 (diff) |
trans/fakeroot: use fat nodes to simplify the node cache
Previously, fakeroot stored netnodes in the hash table. But we are
not interested in a cache for netnodes, we need a node cache. So
fakeroot kept pointers to the associated node object in each netnode
object.
Use fat netfs nodes, which combine node and netnode objects.
* trans/fakeroot.c (struct netnode): Remove np.
(idport_ihash): Fix ihash location pointer offset.
(new_node): Allocate fat nodes, store the node pointer in the hash
table.
(netfs_node_norefs): Adjust accordingly.
(netfs_S_dir_lookup): Likewise.
Diffstat (limited to 'console')
0 files changed, 0 insertions, 0 deletions