aboutsummaryrefslogtreecommitdiffstats
path: root/fs/autofs4
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-02-21 22:05:11 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2015-02-22 11:38:43 -0500
commit0db59e59299f0b67450c5db21f7f316c8fb04e84 (patch)
tree4354f66cf8b6ec6c36968ba63ea9e037d0a6dcbd /fs/autofs4
parentDocumentation/filesystems/Locking: ->get_sb() is long gone (diff)
downloadlinux-dev-0db59e59299f0b67450c5db21f7f316c8fb04e84.tar.xz
linux-dev-0db59e59299f0b67450c5db21f7f316c8fb04e84.zip
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 'fs/autofs4')
0 files changed, 0 insertions, 0 deletions