linux/fs/debugfs
Al Viro c74eb981fa debugfs: leave freeing a symlink body until inode eviction
commit 0db59e5929 upstream.

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...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
History 2015-03-14 15:37:27 -04:00
..
file.c fs: debugfs: remove trailing whitespace 2014-07-09 16:58:21 -07:00
inode.c debugfs: leave freeing a symlink body until inode eviction 2015-03-14 15:37:27 -04:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00