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)
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>

No differences found
This page took 0.035704 seconds and 4 git commands to generate.