* your option) any later version.
*/
+#include <linux/version.h>
#include <linux/audit.h>
#include <linux/file.h>
#include <linux/fs.h>
return;
#ifdef CONFIG_DEBUG_LOCK_ALLOC
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,5,0))
+ rwsem_release(&conn->dep_map, _RET_IP_);
+#else
rwsem_release(&conn->dep_map, 1, _RET_IP_);
+#endif
#endif
v = atomic_dec_return(&conn->active);
#ifdef CONFIG_DEBUG_LOCK_ALLOC
lock_acquired(&conn->dep_map, _RET_IP_);
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,5,0))
+ rwsem_release(&conn->dep_map, _RET_IP_);
+#else
rwsem_release(&conn->dep_map, 1, _RET_IP_);
+#endif
#endif
cancel_delayed_work_sync(&conn->work);