Re: [RFC] kref, a tiny, sane, reference count object

From: Greg KH
Date: Sat Mar 13 2004 - 13:20:07 EST

On Sat, Mar 13, 2004 at 10:10:36AM +0100, Peter Kjellerstedt wrote:
> Looks simple enough. But I have a small question.
> In kref_get() and kref_cleanup(), kref is verified
> not to be NULL before being used. However, this is
> not done in kref_put(). An oversight, or as intended?

An oversight, thanks for pointing it out. I'll go fix it up.

thanks again,

greg k-h
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at