diff options
author | Roman Gushchin <guro@fb.com> | 2019-05-07 10:01:49 -0700 |
---|---|---|
committer | Dennis Zhou <dennis@kernel.org> | 2019-05-09 10:50:59 -0700 |
commit | ddde2af747ad79010f14691f381522987fbcb860 (patch) | |
tree | 6e2b6287133d7ae7f2a49ba3f1a4dc014933806c /fs/devpts | |
parent | 214828962dead0c698f92b60ef97ce3c5fc2c8fe (diff) | |
download | linux-ddde2af747ad79010f14691f381522987fbcb860.tar.bz2 |
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/devpts')
0 files changed, 0 insertions, 0 deletions