diff options
author | Jan Kara <[email protected]> | 2024-02-06 15:32:09 +0100 |
---|---|---|
committer | Jan Kara <[email protected]> | 2024-02-08 12:04:59 +0100 |
commit | 179b8c97ebf63429589f5afeba59a181fe70603e (patch) | |
tree | b563c3feb41730d5096c3f742b71c73f4ab2f3af /tools/perf/util/trace-event-scripting.c | |
parent | 4243bf80c79211a8ca2795401add9c4a3b1d37ca (diff) |
quota: Fix rcu annotations of inode dquot pointers
Dquot pointers in i_dquot array in the inode are protected by
dquot_srcu. Annotate the array pointers with __rcu, perform the locked
dereferences with srcu_dereference_check() instead of plain reads, and
set the array elements with rcu_assign_pointer().
Fixes: b9ba6f94b238 ("quota: remove dqptr_sem")
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions