OpenCloudOS-Kernel/fs/debugfs
Al Viro 0db59e5929 debugfs: leave freeing a symlink body until inode eviction
As it is, we have debugfs_remove() racing with symlink traversals.
Supply ->evict_inode() and do freeing there - inode will remain
pinned until we are done with the symlink body.

And rip the idiocy with checking if dentry is positive right after
we'd verified debugfs_positive(), which is a stronger check...

Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2015-02-22 11:38:43 -05:00
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
file.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
inode.c debugfs: leave freeing a symlink body until inode eviction 2015-02-22 11:38:43 -05:00