commit | a82b8db02f33b38a24fc3858968153940f7c4740 | [log] [tgz] |
---|---|---|
author | Thomas Hellstrom <thellstrom@vmware.com> | Tue Nov 20 12:16:48 2012 +0000 |
committer | Dave Airlie <airlied@redhat.com> | Wed Nov 28 18:36:06 2012 +1000 |
tree | aaede8d6c91398b4052431809adea0c00f263937 | |
parent | 384cc2f9688994dfd505011ba3b08e0a702030b0 [diff] |
kref: Add kref_get_unless_zero documentation Document how kref_get_unless_zero should be used and how it helps solve a typical kref / locking problem. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>