aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c
diff options
context:
space:
mode:
authorSteven Rostedt (Google) <[email protected]>2023-11-21 18:10:07 -0500
committerSteven Rostedt (Google) <[email protected]>2023-11-22 18:37:33 -0500
commitf49f950c217bfb40f11662bab39cb388d41e4cfb (patch)
tree7f39b01dcb724c76bb060956d41f6fdc91efefbe /drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c
parentfc4561226feaad5fcdcb55646c348d77b8ee69c5 (diff)
eventfs: Make sure that parent->d_inode is locked in creating files/dirs
Since the locking of the parent->d_inode has been moved outside the creation of the files and directories (as it use to be locked via a conditional), add a WARN_ON_ONCE() to the case that it's not locked. Link: https://lkml.kernel.org/r/[email protected] Cc: Masami Hiramatsu <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Andrew Morton <[email protected]> Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c')
0 files changed, 0 insertions, 0 deletions