All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dan Williams <djbw@fb.com>
To: Kent Overstreet <kmo@daterainc.com>,
	"akpm@linux-foundation.org" <akpm@linux-foundation.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Cc: Wolfram Sang <wsa@the-dreams.de>,
	Tatyana Nikolova <Tatyana.E.Nikolova@intel.com>,
	Linus Walleij <linus.walleij@linaro.org>,
	Paul Mackerras <paulus@samba.org>, Christoph Hellwig <hch@lst.de>,
	Alon Levy <alevy@redhat.com>, Jason Wang <jasowang@redhat.com>,
	Ohad Ben-Cohen <ohad@wizery.com>,
	"John W. Linville" <linville@tuxdriver.com>,
	Inki Dae <inki.dae@samsung.com>,
	Alex Williamson <alex.williamson@redhat.com>,
	David Teigland <teigland@redhat.com>,
	Joel Becker <jlbec@evilplan.org>,
	Tim Gardner <tim.gardner@canonical.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Seung-Woo Kim <sw0312.kim@samsung.com>,
	Li Zefan <lizefan@huawei.com>, "tj@kernel.org" <tj@kernel.org>,
	Guo Chao <yan@linux.vnet.ibm.com>,
	Andy Grover <agrover@redhat.com>,
	Dmitry Torokhov <dtor@vmware.com>
Subject: Re: [PATCH 07/10] idr: Rename idr_alloc() -> idr_alloc_range()
Date: Sat, 6 Jul 2013 05:26:08 +0000	[thread overview]
Message-ID: <84A937D219C2B44EB8EA44831ACA1E4917268C93@PRN-MBX01-3.TheFacebook.com> (raw)
In-Reply-To: <1373087301-23730-8-git-send-email-kmo@daterainc.com>



On 7/5/13 10:08 PM, "Kent Overstreet" <kmo@daterainc.com> wrote:

>From: Kent Overstreet <koverstreet@google.com>
>
>Then also add an idr_alloc() wrapper, without the start/end arguments -
>for consistency with the ida interfaces.
>
>Signed-off-by: Kent Overstreet <koverstreet@google.com>
>Cc: Andrew Morton <akpm@linux-foundation.org>
>Cc: Tejun Heo <tj@kernel.org>
>Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
>Cc: Jens Axboe <axboe@kernel.dk>
>Cc: Chas Williams <chas@cmf.nrl.navy.mil>
>Cc: Lars Ellenberg <drbd-dev@lists.linbit.com>
>Cc: Dan Williams <djbw@fb.com>
[..]
>diff --git a/drivers/dca/dca-sysfs.c b/drivers/dca/dca-sysfs.c
>index 126cf29..effda66 100644
>--- a/drivers/dca/dca-sysfs.c
>+++ b/drivers/dca/dca-sysfs.c
>@@ -58,7 +58,7 @@ int dca_sysfs_add_provider(struct dca_provider *dca,
>struct device *dev)
> 	idr_preload(GFP_KERNEL);
> 	spin_lock(&dca_idr_lock);
> 
>-	ret = idr_alloc(&dca_idr, dca, 0, 0, GFP_NOWAIT);
>+	ret = idr_alloc(&dca_idr, dca, GFP_NOWAIT);
> 	if (ret >= 0)
> 		dca->id = ret;

DCA portion Acked-by: Dan Williams <djbw@fb.com>

  reply	other threads:[~2013-07-06  5:26 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-06  5:08 [PATCH v3] lib/idr.c rewrite, percpu ida/tag allocator Kent Overstreet
2013-07-06  5:08 ` [PATCH 03/10] idr: Rewrite ida Kent Overstreet
2013-07-06  5:08 ` [PATCH 04/10] idr: Percpu ida Kent Overstreet
2013-07-06  5:08 ` [PATCH 05/10] idr: Kill old deprecated idr interfaces Kent Overstreet
2013-07-06  5:08 ` [PATCH 06/10] idr: Rename idr_get_next() -> idr_find_next() Kent Overstreet
2013-07-06  5:08 ` [PATCH 07/10] idr: Rename idr_alloc() -> idr_alloc_range() Kent Overstreet
2013-07-06  5:26   ` Dan Williams [this message]
2013-07-06  5:08 ` [PATCH 08/10] idr: Reimplement idr on top of ida/radix trees Kent Overstreet
     [not found] ` <1373087301-23730-1-git-send-email-kmo-PEzghdH756F8UrSeD/g0lQ@public.gmane.org>
2013-07-06  5:08   ` [PATCH 09/10] idr: Remove unneeded idr locking, idr_preload() usage Kent Overstreet
2013-07-06  5:08     ` Kent Overstreet
2013-07-06  5:08 ` [PATCH 10/10] idr: Rework idr_preload() Kent Overstreet
2013-07-06  5:08   ` [Cluster-devel] " Kent Overstreet
2013-07-06 22:59 ` [PATCH v3] lib/idr.c rewrite, percpu ida/tag allocator Nicholas A. Bellinger
2013-07-07 11:48   ` Michael S. Tsirkin
2013-07-08  2:09     ` Nicholas A. Bellinger
2013-07-08  5:21       ` Michael S. Tsirkin
2013-07-08 20:16   ` Andrew Morton
  -- strict thread matches above, loose matches on Subject: below --
2013-08-07 17:34 IDA/IDR rewrite, percpu ida Kent Overstreet
2013-08-07 17:46 ` [PATCH 07/10] idr: Rename idr_alloc() -> idr_alloc_range() Kent Overstreet
2013-08-07 19:04   ` Wolfram Sang
2013-06-19  0:02 [PATCH v2] lib/idr.c rewrite, percpu ida/tag allocator Kent Overstreet
     [not found] ` <1371600150-23557-1-git-send-email-koverstreet-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2013-06-19  0:02   ` [PATCH 07/10] idr: Rename idr_alloc() -> idr_alloc_range() Kent Overstreet
2013-06-19 16:44     ` Alex Williamson
2013-06-19 17:28     ` Davidlohr Bueso
2013-06-21  3:13     ` Vinod Koul

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=84A937D219C2B44EB8EA44831ACA1E4917268C93@PRN-MBX01-3.TheFacebook.com \
    --to=djbw@fb.com \
    --cc=Tatyana.E.Nikolova@intel.com \
    --cc=agrover@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=alevy@redhat.com \
    --cc=alex.williamson@redhat.com \
    --cc=dm-devel@redhat.com \
    --cc=dtor@vmware.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=hch@lst.de \
    --cc=inki.dae@samsung.com \
    --cc=jasowang@redhat.com \
    --cc=jlbec@evilplan.org \
    --cc=kmo@daterainc.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=lizefan@huawei.com \
    --cc=ohad@wizery.com \
    --cc=paulus@samba.org \
    --cc=sw0312.kim@samsung.com \
    --cc=teigland@redhat.com \
    --cc=tim.gardner@canonical.com \
    --cc=tj@kernel.org \
    --cc=wsa@the-dreams.de \
    --cc=yan@linux.vnet.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.