Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 287354
b: refs/heads/master
c: 1dd0a06
h: refs/heads/master
v: v3
  • Loading branch information
Sebastian Andrzej Siewior authored and Nicholas Bellinger committed Jan 18, 2012
1 parent 7b064f4 commit e13b33d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e59a41b69a8e116d5ac8c95c4222f5a971f66bbd
refs/heads/master: 1dd0a0674530da61cdbfadd88c96949b483a7c19
5 changes: 3 additions & 2 deletions trunk/drivers/target/target_core_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -320,11 +320,12 @@ int core_free_device_list_for_node(
void core_dec_lacl_count(struct se_node_acl *se_nacl, struct se_cmd *se_cmd)
{
struct se_dev_entry *deve;
unsigned long flags;

spin_lock_irq(&se_nacl->device_list_lock);
spin_lock_irqsave(&se_nacl->device_list_lock, flags);
deve = &se_nacl->device_list[se_cmd->orig_fe_lun];
deve->deve_cmds--;
spin_unlock_irq(&se_nacl->device_list_lock);
spin_unlock_irqrestore(&se_nacl->device_list_lock, flags);
}

void core_update_device_list_access(
Expand Down

0 comments on commit e13b33d

Please sign in to comment.