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)
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

Simple merge