]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/scsi/osd/osd_uld.c: use ida_simple_get() to handle id
authorJonathan Cameron <jic23@cam.ac.uk>
Mon, 24 Oct 2011 14:53:49 +0000 (01:53 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 25 Oct 2011 09:01:49 +0000 (20:01 +1100)
commit2a3a0177db2facbd5b70863dd15bf57c5aa541e3
treeded36440fd00f90742b13b611dd774870f994b34
parent0a7fa24d9c48cf02ae99c8fc63a3403a23b6b388
drivers/scsi/osd/osd_uld.c: use ida_simple_get() to handle id

This does involve additional use of the spin lock in idr.c.  Is this an
issue?

Also, some error mangling was needed to keep the interface the same.  Does
this matter or can we return -ENOSPC instead of -EBUSY?

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Tejun Heo <tj@kernel.org>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Boaz Harrosh <bharrosh@panasas.com>
Cc: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/scsi/osd/osd_uld.c