Fix: kref changes for kernel 4.11
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Wed, 8 Mar 2017 04:37:30 +0000 (23:37 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 8 Mar 2017 16:57:49 +0000 (11:57 -0500)
commit77932315cd23b50c88462872a3b86ad5997e5b47
tree468ccd8892d488072e37ecc91d6563d958029f57
parent4c4d77dacf277775cb395190cf827c7f0c226a99
Fix: kref changes for kernel 4.11

The underlying type of `struct kref` changed in kernel 4.11 from an
atomic_t to a refcount_t. This change was introduced in kernel
commit:10383ae. This commit also added a builtin overflow checks to
`kref_get()` so we use it.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
wrapper/kref.h
This page took 0.026071 seconds and 4 git commands to generate.