/* This file is released under the GPLv2. kref_set - initialize object and set refcount to requested number. @kref: object in question. @num: initial reference counter  */
void kref_set(struct kref *kref, int num)
/* This file is released under the GPLv2. kref_set - initialize object and set refcount to requested number. @kref: object in question. @num: initial reference counter  */
void kref_set(struct kref *kref, int num)
{
	atomic_set(&kref->refcount, num);
	smp_mb();
}