diff options
author | Coleman Kane <[email protected]> | 2020-10-18 10:36:12 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2020-11-03 09:51:20 -0800 |
commit | d2090becabf56708c38ffabeb54f4bb8fff7c74d (patch) | |
tree | 8bd3f9f657c3fcc5cd1cb7c9f7e84d4f11663720 /include | |
parent | 54f10674f358d2eb53b4f3f2f4e0a1134979b13d (diff) |
Linux 5.10 compat: percpu_ref added data member
Kernel commit 2b0d3d3e4fcfb brought in some changes to the struct
percpu_ref structure that moves most of its fields into a member
struct named "data" of type struct percpu_ref_data. This includes
the "count" member which is updated by vdev_blkg_tryget(), so update
this function to chase the API change, and detect it via configure.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Coleman Kane <[email protected]>
Closes #11085
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions