diff options
| author | Pavel Begunkov <[email protected]> | 2021-10-21 13:30:51 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2021-10-21 14:37:26 +0000 |
| commit | 3b13c168186c115501ee7d194460ba2f8c825155 (patch) | |
| tree | 1ab6f6dda7d1b04e41c3bb4adbbc0338ff350693 /fs/btrfs/dev-replace.c | |
| parent | block: convert fops.c magic constants to SHIFT_SECTOR (diff) | |
| download | kernel-3b13c168186c115501ee7d194460ba2f8c825155.tar.gz kernel-3b13c168186c115501ee7d194460ba2f8c825155.zip | |
percpu_ref: percpu_ref_tryget_live() version holding RCU
Add percpu_ref_tryget_live_rcu(), which is a version of
percpu_ref_tryget_live() but the user is responsible for enclosing it in
a RCU read lock section.
Signed-off-by: Pavel Begunkov <[email protected]>
Acked-by: Dennis Zhou <[email protected]>
Link: https://lore.kernel.org/r/3066500d7a6eb3e03f10adf98b87fdb3b1c49db8.1634822969.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
