aboutsummaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorTony Hutter <[email protected]>2018-02-22 09:02:06 -0800
committerBrian Behlendorf <[email protected]>2018-02-22 09:02:06 -0800
commita5369b61a24cf75d8188af8ee554123cf7fae14c (patch)
tree66ef630cb10c474df00353b48532963f3d3dbb73 /module
parentf8478fc2ca8d62f9562a4284426e8d3bd41c0cf0 (diff)
Linux 4.16 compat: use correct *_dec_and_test()
Use refcount_dec_and_test() on 4.16+ kernels, atomic_dec_and_test() on older kernels. https://lwn.net/Articles/714974/ Reviewed-by: Giuseppe Di Natale <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Tony Hutter <[email protected]> Closes: #7179 Closes: #7211
Diffstat (limited to 'module')
0 files changed, 0 insertions, 0 deletions