Re: [PATCH] bsg: call idr_pre_get() outside the lock.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 01 Sep 2010 23:26:01 +0900
Naohiro Aota <naota@xxxxxxxxx> 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@xxxxxxxxx>
> ---
>  block/bsg.c |   10 ++++------
>  1 files changed, 4 insertions(+), 6 deletions(-)

Acked-by: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx>

Thanks,

James, can you merge this via your tree?
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux