summaryrefslogtreecommitdiff
path: root/nfsd/xdr.c
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-05-18 13:45:14 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-05-28 14:51:53 +0200
commit6349d15921134adb4491eb9ce87720a0281a7bd6 (patch)
treef651acbef4d2b09ffda3426379136e138c874d3b /nfsd/xdr.c
parent94fecd72f41542c8dfa82bdf7b47742f8c29b321 (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 'nfsd/xdr.c')
0 files changed, 0 insertions, 0 deletions