summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorKemeng Shi <shikemeng@huaweicloud.com>2023-03-03 20:21:06 +0300
committerTheodore Ts'o <tytso@mit.edu>2023-04-06 08:13:11 +0300
commit36cb0f52aeb929b141f3f580481eb04c65b6e2b9 (patch)
treec67c461a33802214283d16fccdc4ad2250ff75b3 /include/linux/debugobjects.h
parent1afdc5889427110c8466da2b23360a27be711ff0 (diff)
downloadlinux-36cb0f52aeb929b141f3f580481eb04c65b6e2b9.tar.xz
ext4: protect pa->pa_free in ext4_discard_allocated_blocks
If ext4_mb_mark_diskspace_used fails in ext4_mb_new_blocks, we may discard pa already in list. Protect pa with pa_lock to avoid race. Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com> Reviewed-by: Ojaswin Mujoo <ojaswin@linux.ibm.com> Link: https://lore.kernel.org/r/20230303172120.3800725-7-shikemeng@huaweicloud.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions