Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/scjody/ieee1394

+6
+6
drivers/ieee1394/sbp2.c
··· 2350 2350 struct scsi_cmnd *SCpnt = NULL; 2351 2351 u32 scsi_status = SBP2_SCSI_STATUS_GOOD; 2352 2352 struct sbp2_command_info *command; 2353 + unsigned long flags; 2353 2354 2354 2355 SBP2_DEBUG("sbp2_handle_status_write"); 2355 2356 ··· 2452 2451 * null out last orb so that next time around we write directly to the orb pointer... 2453 2452 * Quick start saves one 1394 bus transaction. 2454 2453 */ 2454 + spin_lock_irqsave(&scsi_id->sbp2_command_orb_lock, flags); 2455 2455 if (list_empty(&scsi_id->sbp2_command_orb_inuse)) { 2456 2456 scsi_id->last_orb = NULL; 2457 2457 } 2458 + spin_unlock_irqrestore(&scsi_id->sbp2_command_orb_lock, flags); 2458 2459 2459 2460 } else { 2460 2461 ··· 2566 2563 struct sbp2scsi_host_info *hi = scsi_id->hi; 2567 2564 struct list_head *lh; 2568 2565 struct sbp2_command_info *command; 2566 + unsigned long flags; 2569 2567 2570 2568 SBP2_DEBUG("sbp2scsi_complete_all_commands"); 2571 2569 2570 + spin_lock_irqsave(&scsi_id->sbp2_command_orb_lock, flags); 2572 2571 while (!list_empty(&scsi_id->sbp2_command_orb_inuse)) { 2573 2572 SBP2_DEBUG("Found pending command to complete"); 2574 2573 lh = scsi_id->sbp2_command_orb_inuse.next; ··· 2587 2582 command->Current_done(command->Current_SCpnt); 2588 2583 } 2589 2584 } 2585 + spin_unlock_irqrestore(&scsi_id->sbp2_command_orb_lock, flags); 2590 2586 2591 2587 return; 2592 2588 }