John Pittman
db193954ed
block: bsg: move atomic_t ref_count variable to refcount API
...
Currently, variable ref_count within the bsg_device struct is of
type atomic_t. For variables being used as reference counters,
the refcount API should be used instead of atomic. The newer
refcount API works to prevent counter overflows and use-after-free
bugs. So, move this varable from the atomic API to refcount,
potentially avoiding the issues mentioned.
Signed-off-by: John Pittman <jpittman@redhat.com >
Signed-off-by: Jens Axboe <axboe@kernel.dk >
2018-08-27 19:17:02 -06:00
..
2018-07-27 09:17:41 -06:00
2018-08-16 13:11:16 -06:00
2018-08-16 13:08:13 -06:00
2018-07-09 09:07:52 -06:00
2018-08-16 13:08:15 -06:00
2018-07-26 15:49:41 -06:00
2018-08-14 10:23:25 -07:00
2018-08-01 09:16:03 -06:00
2018-08-22 13:38:05 -07:00
2018-06-09 06:37:14 -06:00
2018-07-09 09:07:54 -06:00
2018-08-02 09:58:14 -06:00
2018-07-09 09:07:54 -06:00
2018-06-02 20:35:00 -06:00
2018-07-09 09:07:52 -06:00
2018-07-09 09:07:53 -06:00
2018-07-09 09:07:52 -06:00
2018-07-09 09:07:53 -06:00
2018-08-21 09:02:55 -06:00
2018-08-21 09:02:55 -06:00
2018-08-22 13:38:05 -07:00
2018-08-22 13:38:05 -07:00
2018-07-17 16:04:00 -06:00
2018-07-22 11:30:53 -06:00
2018-07-22 11:30:53 -06:00
2018-07-24 14:46:39 -06:00
2018-06-19 11:27:18 -06:00
2018-07-09 09:07:54 -06:00
2018-07-09 09:07:54 -06:00
2018-08-23 09:34:46 -06:00
2018-06-17 05:37:55 +09:00
2018-08-09 12:43:16 -06:00
2018-06-23 10:25:45 -06:00
2018-08-27 13:32:12 -06:00
2018-07-09 09:07:54 -06:00
2018-07-09 09:07:52 -06:00
2018-08-21 09:02:55 -06:00
2018-07-24 14:43:26 -06:00
2018-08-01 09:13:03 -06:00
2018-08-27 19:17:02 -06:00
2018-08-07 17:57:13 -06:00
2018-08-27 19:16:06 -06:00
2018-07-18 08:44:22 -06:00
2018-07-09 09:07:54 -06:00
2018-07-09 09:07:54 -06:00
2018-07-18 08:44:22 -06:00
2018-06-20 12:04:06 -06:00
2018-07-30 08:27:02 -06:00