kernel_samsung_a53x/fs/quota
Jan Kara a25992037b 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>
2024-11-19 08:44:52 +01:00
..
compat.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dquot.c quota: Fix rcu annotations of inode dquot pointers 2024-11-19 08:44:52 +01:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kqid.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
netlink.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
quota.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
quota_tree.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
quota_tree.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
quota_v1.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
quota_v2.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
quotaio_v1.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
quotaio_v2.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00