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>
Mon, 24 Apr 2017 16:53:22 +0000 (12:53 -0400)
commit64621d16b7ed3ff47549cfa851181411c9529702
treeab64c2881f68e69af025139f0d24b98589daf3ee
parentf972267e5453388ca92f6bd20a697a6f9eb15422
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.025718 seconds and 4 git commands to generate.