aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorSteven Rostedt (Google) <[email protected]>2023-11-20 23:51:07 +0000
committerSteven Rostedt (Google) <[email protected]>2023-11-21 00:02:11 +0000
commit71cade82f2b553a74d046c015c986f2df165696f (patch)
tree71c0cd89e42439aa74b18a0d9ea4b954fc8b3f4f /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parenteventfs: Remove expectation that ei->is_freed means ei->dentry == NULL (diff)
downloadkernel-71cade82f2b553a74d046c015c986f2df165696f.tar.gz
kernel-71cade82f2b553a74d046c015c986f2df165696f.zip
eventfs: Do not invalidate dentry in create_file/dir_dentry()
With the call to simple_recursive_removal() on the entire eventfs sub system when the directory is removed, it performs the d_invalidate on all the dentries when it is removed. There's no need to do clean ups when a dentry is being created while the directory is being deleted. As dentries are cleaned up by the simpler_recursive_removal(), trying to do d_invalidate() in these functions will cause the dentry to be invalidated twice, and crash the kernel. Link: https://lore.kernel.org/all/[email protected]/ Link: https://lkml.kernel.org/r/[email protected] Cc: Masami Hiramatsu <[email protected]> Cc: Andrew Morton <[email protected]> Fixes: 407c6726ca71 ("eventfs: Use simple_recursive_removal() to clean up dentries") Reported-by: Mark Rutland <[email protected]> Reported-by: Naresh Kamboju <[email protected]> Reported-by: Linux Kernel Functional Testing <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions