[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100902123544M.fujita.tomonori@lab.ntt.co.jp>
Date: Thu, 2 Sep 2010 13:13:16 +0900
From: FUJITA Tomonori <fujita.tomonori@....ntt.co.jp>
To: naota@...sp.net, JBottomley@...ell.com
Cc: fujita.tomonori@....ntt.co.jp, linux-kernel@...r.kernel.org,
axboe@...nel.dk, jkosina@...e.cz, gregkh@...e.de, daniel@...aq.de,
linux-scsi@...r.kernel.org
Subject: Re: [PATCH] bsg: call idr_pre_get() outside the lock.
On Wed, 01 Sep 2010 23:26:01 +0900
Naohiro Aota <naota@...sp.net> wrote:
> The idr_pre_get() kernel-doc says "This function should be called
> prior to locking and calling the idr_get_new* functions.", but the
> idr_pre_get() calling in bsg_register_queue() is put inside
> mutex_lock(). Let's fix it.
>
> Signed-off-by: Naohiro Aota <naota@...sp.net>
> ---
> block/bsg.c | 10 ++++------
> 1 files changed, 4 insertions(+), 6 deletions(-)
Acked-by: FUJITA Tomonori <fujita.tomonori@....ntt.co.jp>
Thanks,
James, can you merge this via your tree?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists