Spell out behavior of atomic_dec_and_lock() in kerneldoc

A little more detail here wouldn't hurt.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

authored by J. Bruce Fields and committed by Jonathan Corbet dc07e721 b40b5162

+3
+3
include/linux/spinlock.h
··· 341 341 * atomic_dec_and_lock - lock on reaching reference count zero 342 342 * @atomic: the atomic counter 343 343 * @lock: the spinlock in question 344 + * 345 + * Decrements @atomic by 1. If the result is 0, returns true and locks 346 + * @lock. Returns false for all other cases. 344 347 */ 345 348 extern int _atomic_dec_and_lock(atomic_t *atomic, spinlock_t *lock); 346 349 #define atomic_dec_and_lock(atomic, lock) \