summaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2013-10-04 20:27:45 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-10-05 23:45:09 +0200
commitc87688a05a8b49479ee10127470cc60acebead4a (patch)
tree26cd19e3cf64bc150c6da3a0b7a33220d50e106a /TODO
parent969078c9755b7e28dcabe277629f757e20a19f1a (diff)
Fix mtab translator leak
The node structure for the `mounts' entry is created and destroyed on each access, despite the fact a translator is activated on it. Fix the issue by caching it. * rootdir.c (rootdir_mounts_node): New variable. (rootdir_mounts_node_lock): Likewise. (rootdir_mounts_make_node): New function. (rootdir_translator_make_node): Remove function. (rootdir_entries): Replace `rootdir_translator_make_node' with `rootdir_mounts_make_node'.
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions