diff options
author | Andrea Righi <[email protected]> | 2023-05-21 10:28:13 +0200 |
---|---|---|
committer | Amir Goldstein <[email protected]> | 2023-08-12 19:02:54 +0300 |
commit | adcd459ff805ce5e11956cfa1e9aa85471b6ae8d (patch) | |
tree | 529a978d9bb82a1e528c5f7fd787a2dd868abc04 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
parent | f01d08899fd7fa808ff9b8d33ca4882ab44d42fa (diff) |
ovl: validate superblock in OVL_FS()
When CONFIG_OVERLAY_FS_DEBUG is enabled add an explicit check to make
sure that OVL_FS() is always used with a valid overlayfs superblock.
Otherwise trigger a WARN_ON_ONCE().
Reviewed-by: Amir Goldstein <[email protected]>
Signed-off-by: Andrea Righi <[email protected]>
Signed-off-by: Amir Goldstein <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions