Fix: get_file_rcu is missing in kernels < 4.1
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 1 Dec 2023 14:52:08 +0000 (09:52 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 14 Dec 2023 14:06:59 +0000 (09:06 -0500)
commit451e062751f0574bbb33390b072f5615d084e309
tree69b7e24b0079f656476334827338e097f41f7c5f
parent9f945e81a75cb152f0ecfca9c0b1d759fd15144b
Fix: get_file_rcu is missing in kernels < 4.1

Open-code the get_file_rcu using atomic_long_inc_not_zero() for kernel
versions < 4.1.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I0fa905b078165ede8b1837bb8d77891d05d0e8ed
include/wrapper/fdtable.h
This page took 0.026082 seconds and 4 git commands to generate.