]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[SCSI] bnx2fc: Call bnx2fc_return_rqe and bnx2fc_get_next_rqe with tgt lock held
authorNithin Sujir <nsujir@broadcom.com>
Fri, 18 Mar 2011 00:13:31 +0000 (17:13 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 23 Mar 2011 16:37:02 +0000 (11:37 -0500)
commit686959736a8543265930c8d777a73b052bc57f87
tree494b9c86d7035749ce40554d0c52f8082b96d6b8
parent0ea5c27583e1cc164bba7ca29fe48a225f52d19b
[SCSI] bnx2fc: Call bnx2fc_return_rqe and bnx2fc_get_next_rqe with tgt lock held

tgt lock is needed during -
        bnx2fc_return_rqe to protect the rq_prod_idx.
        bnx2fc_get_next_rqe to protect rq_cons_idx

Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/bnx2fc/bnx2fc_hwi.c