From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 1 Feb 2017 09:08:01 +0100 From: Christoph Hellwig To: Dan Williams Cc: Christoph Hellwig , "Martin K. Petersen" , Jens Axboe , linux-block@vger.kernel.org, linux-scsi , "linux-kernel@vger.kernel.org" , James Bottomley , Bart Van Assche , Omar Sandoval Subject: Re: [RFC PATCH] scsi, block: fix duplicate bdi name registration crashes Message-ID: <20170201080801.GB29170@lst.de> References: <148566590827.1627.3631056985359212959.stgit@dwillia2-desk3.amr.corp.intel.com> <20170130122452.GA9043@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: List-ID: On Mon, Jan 30, 2017 at 12:57:05PM -0800, Dan Williams wrote: > > struct kref { > atomic_t refcount; > }; > > ...so what do we gain by open coding kref_get() and kref_put()? A much less ugly calling convention.