diff options
| author | Kent Overstreet <[email protected]> | 2024-06-05 12:35:48 -0400 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2024-07-14 19:00:15 -0400 |
| commit | f295920bc4a0f34f7c4182f53c8f0c929e4358a2 (patch) | |
| tree | 850d4471eb13cc590c0b9b36e0299cb247d8f346 /scripts/gcc-plugins/gcc-common.h | |
| parent | 49858d869b62446e552bf9421077fb6c3125b13a (diff) | |
bcachefs: Fix race in bch2_accounting_mem_insert()
bch2_accounting_mem_insert() drops and retakes mark_lock; thus, we need
to check if the entry in question has already been inserted.
Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions