diff options
author | 2017-10-20 12:53:32 +0300 | |
---|---|---|
committer | 2017-11-17 13:47:59 -0500 | |
commit | eba6dd691743a9d7a57735f36bf6946fc58878ec (patch) | |
tree | e6b14b8b629462d1e7707bd32536292e91bccef0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fs, nfs: convert nfs4_pnfs_ds.ds_count from atomic_t to refcount_t (diff) | |
download | wireguard-linux-eba6dd691743a9d7a57735f36bf6946fc58878ec.tar.xz wireguard-linux-eba6dd691743a9d7a57735f36bf6946fc58878ec.zip |
fs, nfs: convert pnfs_layout_segment.pls_refcount 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 <elena.reshetova@intel.com>
Signed-off-by: Hans Liljestrand <ishkamiel@gmail.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David Windsor <dwindsor@gmail.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions