kref: Add kref_get_unless_zero documentation
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 20 Nov 2012 12:16:48 +0000 (12:16 +0000)
committerDave Airlie <airlied@redhat.com>
Wed, 28 Nov 2012 08:36:06 +0000 (18:36 +1000)
commita82b8db02f33b38a24fc3858968153940f7c4740
treeaaede8d6c91398b4052431809adea0c00f263937
parent384cc2f9688994dfd505011ba3b08e0a702030b0
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>
Documentation/kref.txt