]> git.karo-electronics.de Git - karo-tx-linux.git/commit
target: Convert se_lun->lun_deve_lock to normal spinlock
authorNicholas Bellinger <nab@linux-iscsi.org>
Tue, 23 Jun 2015 06:44:05 +0000 (23:44 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 23 Jun 2015 06:54:10 +0000 (23:54 -0700)
commit1adff1b3a7f75a1c255b7fcab5676edf29d4a5d8
tree7fe5b62dba64a17e68dfd50b2e2745a2751811ff
parentc51c8e7bcac966f209da83630fc8ca7e6cad279b
target: Convert se_lun->lun_deve_lock to normal spinlock

This patch converts se_lun->lun_deve_lock acquire/release access
to use a normal, non bottom-half spin_lock_t for protecting
se_lun->lun_deve_list access.

Reported-by: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_alua.c
drivers/target/target_core_device.c
drivers/target/target_core_pr.c