Re: [PATCH][ATM] add reference counting to atm_dev

Greg KH (greg@kroah.com)
Thu, 15 May 2003 12:09:23 -0700


On Thu, May 15, 2003 at 10:32:05AM -0400, chas williams wrote:
> In message <20030515052041.GA5995@kroah.com>,Greg KH writes:
> >It's not really bothering me, just wondering when it will go away (I see
> >it when building one of the USB ATM drivers...)
>
> the MOD_* functions in the speedtch driver don't need to be there.
> since 2.3.something (if i remember correctly) the reference counting
> has been handled by the upper layer (ala fops_get/fops_put). the
> following patch removes these extra bits:

Thanks, didn't know they could be removed. The speedtch author told me
a while ago that the fops didn't protect it...

I'll go apply this patch.

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/