diff options
author | 2022-06-23 21:28:58 -0400 | |
---|---|---|
committer | 2022-08-01 09:31:46 -0500 | |
commit | 958589892218e43ec83d5562438e0c1cc44a4716 (patch) | |
tree | 1f1e73b26254d944769759cad98ce9c349d1194f /scripts/generate_rust_analyzer.py | |
parent | fs: dlm: don't use deprecated timeout features by default (diff) | |
download | wireguard-linux-958589892218e43ec83d5562438e0c1cc44a4716.tar.xz wireguard-linux-958589892218e43ec83d5562438e0c1cc44a4716.zip |
fs: dlm: move kref_put assert for lkb structs
The unhold_lkb() function decrements the lock's kref, and
asserts that the ref count was not the final one. Use the
kref_put release function (which should not be called) to
call the assert, rather than doing the assert based on the
kref_put return value. Using kill_lkb() as the release
function doesn't make sense if we only want to assert.
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions