diff options
author | Bart Van Assche | 2018-09-26 14:01:07 -0700 |
---|---|---|
committer | Jens Axboe | 2018-09-26 15:11:29 -0600 |
commit | 18c9a6bbe0645a05172a900740b9d2d379d54320 (patch) | |
tree | 6210abc5d6f4f1a3d2d31c15e0b5fb4e008ae865 /block | |
parent | 0d25bd072b494a0290a7855a2e0286c4a0c92041 (diff) |
percpu-refcount: Introduce percpu_ref_resurrect()
This function will be used in a later patch to switch the struct
request_queue q_usage_counter from killed back to live. In contrast
to percpu_ref_reinit(), this new function does not require that the
refcount is zero.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Jianchao Wang <jianchao.w.wang@oracle.com>
Cc: Hannes Reinecke <hare@suse.com>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions