]> 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>
Tue, 8 Nov 2011 00:20:05 +0000 (11:20 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 16 Nov 2011 01:46:59 +0000 (12:46 +1100)
commit96a41c71bb09db7f1cd576bf0bf6f010c618fa35
treedae7336ed3a749b71ba6b61d8fb11b3a385480af
parenta53af657c1249c810ccc6968f02f6c1f86043ba2
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