linux-imx/fs/debugfs
Al Viro f2331a68c3 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: Jiri Slaby <jslaby@suse.cz>
2015-03-12 17:31:19 +01:00
..
file.c debugfs: write_file_bool() - ensure strtobool() operates on valid data 2013-06-03 13:55:02 -07:00
inode.c debugfs: leave freeing a symlink body until inode eviction 2015-03-12 17:31:19 +01:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00