Re: [PATCH] Fix mtab translator leak

2013-10-05 Thread Samuel Thibault
Richard Braun, le Fri 04 Oct 2013 20:27:45 +0200, a écrit : > 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. Applied, thanks. Samuel

[PATCH] Fix mtab translator leak

2013-10-04 Thread Richard Braun
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. (rootdi