]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] aacraid: fib context lock for management ioctls
authorSalyzyn, Mark <Mark_Salyzyn@adaptec.com>
Thu, 24 Jan 2008 15:40:10 +0000 (07:40 -0800)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 25 Jan 2008 15:25:22 +0000 (09:25 -0600)
commitf7879814f3676f0999c44783cf37e260b2929ad1
tree020c415dbade29e0c0fd3e39ec5b97d730d29f15
parentc3fd130faab847c679c148b64c4e1ac45ab5aa03
[SCSI] aacraid: fib context lock for management ioctls

Alan noticed the lack of locking surrounding the driver's dealings
with the fib context managed by the trio of ioctls that are used by
the RAID management applications to retrieve Adapter Initiated FIBs. I
merely expanded the fib lock to include the fib context. There have
been no field reports of any issues generally because the applications
are relatively static and do not come and go often enough to stress
this area. I bloated this patch a little with some space junk.

Signed-off-by: Mark Salyzyn <aacraid@adaptec.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/aacraid/commctrl.c