diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2014-02-26 22:57:03 +0900 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2014-03-19 15:04:30 -0700 |
commit | 6c78cc06583344244628bf29aa5b5fe43ff5d04e (patch) | |
tree | 6ef80001e2fe6f27993cb708003092acf5ebd771 /fs/stack.c | |
parent | be4e11be99dbb36308760595ee848ef51713b4b0 (diff) | |
download | linux-6c78cc06583344244628bf29aa5b5fe43ff5d04e.tar.bz2 |
[SCSI] scsi_debug: protect device access with atomic_rw lock
This change ensures that concurrent device access including ramdisk
storage, protection info, and provisioning map by read, write, and
unmap commands are protected with atomic_rw spinlock.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Reviewed-by: Douglas Gilbert <dgilbert@interlog.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'fs/stack.c')
0 files changed, 0 insertions, 0 deletions