diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-02-22 06:05:11 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-02-22 19:38:43 +0300 |
commit | 0db59e59299f0b67450c5db21f7f316c8fb04e84 (patch) | |
tree | 4354f66cf8b6ec6c36968ba63ea9e037d0a6dcbd /Makefile | |
parent | dca111782c9955a3d439d88fecc8a81cb1df4719 (diff) | |
download | linux-0db59e59299f0b67450c5db21f7f316c8fb04e84.tar.xz |
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>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions