Elena Reshetova 78a764504d btrfs: convert scrub_parity.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 <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: David Sterba <dsterba@suse.com>
2017-04-18 14:07:24 +02:00
..
2017-02-27 18:43:46 -08:00
2017-03-31 12:29:03 -07:00
2017-02-27 18:43:46 -08:00
2017-04-08 00:47:49 -07:00
2017-02-27 18:43:46 -08:00
2017-01-30 16:32:25 -08:00
2016-12-14 23:48:11 -05:00
2017-02-27 18:43:46 -08:00
2016-12-05 19:03:49 -05:00