[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170201080801.GB29170@lst.de>
Date: Wed, 1 Feb 2017 09:08:01 +0100
From: Christoph Hellwig <hch@....de>
To: Dan Williams <dan.j.williams@...el.com>
Cc: Christoph Hellwig <hch@....de>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
Jens Axboe <axboe@...nel.dk>, linux-block@...r.kernel.org,
linux-scsi <linux-scsi@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
James Bottomley <James.Bottomley@...senpartnership.com>,
Bart Van Assche <bart.vanassche@...disk.com>,
Omar Sandoval <osandov@...ndov.com>
Subject: Re: [RFC PATCH] scsi, block: fix duplicate bdi name registration
crashes
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.
Powered by blists - more mailing lists