commit | 8ad5db8a8ddbe3bd33078863a027011e28f1f4ee | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Fri Aug 17 20:10:46 2012 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Wed Aug 22 10:24:41 2012 -0400 |
tree | e54d9b3a0f6dba580dec882046b99e576c33387c | |
parent | 934ad4c235f87dcb9206abdfa22922358999afab [diff] |
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>