diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-08-18 02:10:46 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-08-22 16:24:41 +0200 |
commit | 8ad5db8a8ddbe3bd33078863a027011e28f1f4ee (patch) | |
tree | e54d9b3a0f6dba580dec882046b99e576c33387c /drivers/vfio/vfio.c | |
parent | vfio: don't dereference after kfree... (diff) | |
download | linux-8ad5db8a8ddbe3bd33078863a027011e28f1f4ee.tar.xz linux-8ad5db8a8ddbe3bd33078863a027011e28f1f4ee.zip |
introduce kref_put_mutex()
equivalent of
mutex_lock(mutex);
if (!kref_put(kref, release))
mutex_unlock(mutex);
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions