diff options
author | Elena Reshetova <[email protected]> | 2017-03-03 10:55:21 +0200 |
---|---|---|
committer | David Sterba <[email protected]> | 2017-04-18 14:07:24 +0200 |
commit | 6f615018b35fb5ea1ce49673079fc637a0b6be70 (patch) | |
tree | 22c23bbbfd4fe843b8262ea6ab7cf31edf01e313 /tools/perf/scripts/python | |
parent | a50299ae7cc4ba7268749e144e7c16321c25e3b3 (diff) |
btrfs: convert scrub_recover.refs from atomic_t to refcount_t
refcount_t type and corresponding API should be
used instead of atomic_t when the variable is used as
a reference counter. This allows to avoid accidental
refcounter overflows that might lead to use-after-free
situations.
Signed-off-by: Elena Reshetova <[email protected]>
Signed-off-by: Hans Liljestrand <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Signed-off-by: David Windsor <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions