diff options
author | Roman Gushchin | 2019-05-07 19:01:49 +0200 |
---|---|---|
committer | Dennis Zhou | 2019-05-09 19:50:59 +0200 |
commit | ddde2af747ad79010f14691f381522987fbcb860 (patch) | |
tree | 6e2b6287133d7ae7f2a49ba3f1a4dc014933806c /fs/efs | |
parent | io_uring: initialize percpu refcounters using PERCU_REF_ALLOW_REINIT (diff) | |
download | kernel-qcow2-linux-ddde2af747ad79010f14691f381522987fbcb860.tar.gz kernel-qcow2-linux-ddde2af747ad79010f14691f381522987fbcb860.tar.xz kernel-qcow2-linux-ddde2af747ad79010f14691f381522987fbcb860.zip |
md: initialize percpu refcounters using PERCU_REF_ALLOW_REINIT
Percpu reference counters should now be initialized with the
PERCPU_REF_ALLOW_REINIT in order to allow switching them to the
percpu mode from the atomic mode.
To make percpu_ref_switch_to_percpu() call in set_in_sync()
succeed,let's initialize percpu refcounters with the
PERCU_REF_ALLOW_REINIT flag.
Signed-off-by: Roman Gushchin <guro@fb.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Dennis Zhou <dennis@kernel.org>
Diffstat (limited to 'fs/efs')
0 files changed, 0 insertions, 0 deletions