diff options
author | Jan Kara <jack@suse.cz> | 2024-02-06 17:32:09 +0300 |
---|---|---|
committer | Sasha Levin <sashal@kernel.org> | 2024-03-27 01:17:03 +0300 |
commit | 4772b81037c15dd8699c5ff6b04760490a87e438 (patch) | |
tree | c19a805a7d8584f481ee548edfb3b7c794914b83 /Documentation/scsi | |
parent | 6afc9f4434fa8063aa768c2bf5bf98583aee0877 (diff) | |
download | linux-4772b81037c15dd8699c5ff6b04760490a87e438.tar.xz |
quota: Fix rcu annotations of inode dquot pointers
[ Upstream commit 179b8c97ebf63429589f5afeba59a181fe70603e ]
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 <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202402061900.rTuYDlo6-lkp@intel.com/
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Documentation/scsi')
0 files changed, 0 insertions, 0 deletions