summaryrefslogtreecommitdiff
path: root/fs/proc/generic.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-02-21 22:05:11 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-18 13:22:32 +0100
commitdb32c77427f773d625bc1e27720bd98cbb807185 (patch)
tree6fc7ad5a7f4b1e46308a8c7aabd56ff8aad4e00b /fs/proc/generic.c
parentd91c5de58cd9ed6d37f14bde906bb307bf681ba1 (diff)
debugfs: leave freeing a symlink body until inode eviction
commit 0db59e59299f0b67450c5db21f7f316c8fb04e84 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/proc/generic.c')
0 files changed, 0 insertions, 0 deletions