This does involve additional use of the spin lock in idr.c. Is this an
commit60f1a4fcdf291feb4a77a9d4bd33c95c71125010
authorJonathan Cameron <jic23@cam.ac.uk>
Wed, 24 Aug 2011 23:46:33 +0000 (25 09:46 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 31 Aug 2011 04:27:24 +0000 (31 14:27 +1000)
treeef69f06a99ca014de5cd9fd5608aa21c47c183ad
parentdc85f0213a617c93c8440780c68854af7d075fba
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