]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Fix ndlp nodelist not empty wait timeout during driver unloading (CR 127052)
authorVaios Papadimitriou <vaios.papadimitriou@emulex.com>
Tue, 8 May 2012 22:01:25 +0000 (17:01 -0500)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Wed, 9 May 2012 00:01:26 +0000 (17:01 -0700)
commitbf67e535299309d003d79af963a54d5bbdaeae36
treec3312096c2f72534787317232ca5650051c5df47
parente5603d0e5f171fd115a37e70c9bbb681b3f00c05
Fix ndlp nodelist not empty wait timeout during driver unloading (CR 127052)

In lpfc_set_rrq_active the code allocates an RRQ while lock are held. The
driver either need to make this allocation ATOMIC or remove the allocation from
the lock. We choose to remove the locked version of lpfc_set_rrq_active since
there were no users of this function. Then rearrange the code so that the
allocation does not occur while the lock is held.

commit id: eff4a01b6e9f8cee3c541ab7f2ad18b5bbffd124

Signed-off-by: Maxim Uvarov <maxim.uvarov@oracle.com>
drivers/scsi/lpfc/lpfc_init.c