Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Linux 4.16 compat: use correct *_dec_and_test() | Tony Hutter | 2018-02-22 | 1 | -0/+20 |
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 |