Searched hist:"640946 f2" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/ |
H A D | libfs.c | 640946f2 Mon Apr 02 18:22:25 CDT 2012 Al Viro <viro@zeniv.linux.org.uk> dentry leak in simple_fill_super() failure exit
d_genocide() does _not_ evict dentries; it just removes extra ref pinning each of those. Normally it's followed by shrinking the tree (it's done just before generic_shutdown_super() by kill_litter_super()), but in case of simple_fill_super() nothing of that kind will follow. Just do shrink_dcache_parent() manually.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> 640946f2 Mon Apr 02 18:22:25 CDT 2012 Al Viro <viro@zeniv.linux.org.uk> dentry leak in simple_fill_super() failure exit d_genocide() does _not_ evict dentries; it just removes extra ref pinning each of those. Normally it's followed by shrinking the tree (it's done just before generic_shutdown_super() by kill_litter_super()), but in case of simple_fill_super() nothing of that kind will follow. Just do shrink_dcache_parent() manually. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
|