commit | 640946f20390e492694f9d7470656f2262385951 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Mon Apr 02 19:22:25 2012 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Mon Apr 09 01:39:22 2012 -0400 |
tree | fb79454083149c59bd25ca09eab96b7028d3299f | |
parent | c65390f4dd49755863f6d772ec538ee4757c08d7 [diff] |
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>