diff options
| author | Andreas Gruenbacher <[email protected]> | 2023-10-30 21:06:05 +0000 |
|---|---|---|
| committer | Andreas Gruenbacher <[email protected]> | 2023-11-06 00:51:26 +0000 |
| commit | 074d7306a4fe22fcac0b53f699f92757ab1cee99 (patch) | |
| tree | aa6eea75aa11b83a3aad36002393aacf7f66ca52 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
| parent | gfs2: fs: derive f_fsid from s_uuid (diff) | |
| download | kernel-074d7306a4fe22fcac0b53f699f92757ab1cee99.tar.gz kernel-074d7306a4fe22fcac0b53f699f92757ab1cee99.zip | |
gfs2: Silence "suspicious RCU usage in gfs2_permission" warning
Commit 0abd1557e21c added rcu_dereference() for dereferencing ip->i_gl
in gfs2_permission. This now causes lockdep to complain when
gfs2_permission is called in non-RCU context:
WARNING: suspicious RCU usage in gfs2_permission
Switch to rcu_dereference_check() and check for the MAY_NOT_BLOCK flag
to shut up lockdep when we know that dereferencing ip->i_gl is safe.
Fixes: 0abd1557e21c ("gfs2: fix an oops in gfs2_permission")
Reported-by: [email protected]
Signed-off-by: Andreas Gruenbacher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions
