diff options
author | Long Li <[email protected]> | 2024-06-22 16:26:31 +0800 |
---|---|---|
committer | Carlos Maiolino <[email protected]> | 2024-11-22 09:52:03 +0100 |
commit | 45f69d091bab64a332fe751da9829dcd136348fd (patch) | |
tree | b07c4cd68884af97c9eb05b6e137fbba63218c64 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 28eb75e178d389d325f1666e422bc13bbbb9804c (diff) |
xfs: eliminate lockdep false positives in xfs_attr_shortform_list
xfs_attr_shortform_list() only called from a non-transactional context, it
hold ilock before alloc memory and maybe trapped in memory reclaim. Since
commit 204fae32d5f7("xfs: clean up remaining GFP_NOFS users") removed
GFP_NOFS flag, lockdep warning will be report as [1]. Eliminate lockdep
false positives by use __GFP_NOLOCKDEP to alloc memory
in xfs_attr_shortform_list().
[1] https://lore.kernel.org/linux-xfs/[email protected]/
Reported-by: [email protected]
Signed-off-by: Long Li <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Signed-off-by: Carlos Maiolino <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions