diff options
author | Akinobu Mita | 2013-06-29 10:59:19 +0200 |
---|---|---|
committer | James Bottomley | 2013-07-09 13:13:42 +0200 |
commit | beb40ea42bd65511bc275a7d58d3753835906be5 (patch) | |
tree | 5889e5f2aa73d5b9a32f6d0d55fd2c808a5216de /Documentation/vm | |
parent | [SCSI] scsi_debug: simplify offset calculation for dif_storep (diff) | |
download | kernel-qcow2-linux-beb40ea42bd65511bc275a7d58d3753835906be5.tar.gz kernel-qcow2-linux-beb40ea42bd65511bc275a7d58d3753835906be5.tar.xz kernel-qcow2-linux-beb40ea42bd65511bc275a7d58d3753835906be5.zip |
[SCSI] scsi_debug: reduce duplication between prot_verify_read and prot_verify_write
In order to reduce code duplication between prot_verify_read() and
prot_verify_write(), this moves common code into the new functions.
[jejb: fix unitialised variable warning]
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Acked-by: Douglas Gilbert <dgilbert@interlog.com>
Acked-by: "Martin K. Petersen" <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'Documentation/vm')
0 files changed, 0 insertions, 0 deletions