]> 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>
Wed, 5 Oct 2011 00:42:38 +0000 (11:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 13 Oct 2011 06:49:13 +0000 (17:49 +1100)
commit4282f7ef3a7b57faa37434d51047fd7d46668d47
tree9c57b5d704602c857685e6232abae04df8e9c106
parentab3e6e483bf9034c5974bc31f53c429d1cd8a2ab
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