commit | beb40ea42bd65511bc275a7d58d3753835906be5 | [log] [tgz] |
---|---|---|
author | Akinobu Mita <akinobu.mita@gmail.com> | Sat Jun 29 17:59:19 2013 +0900 |
committer | James Bottomley <JBottomley@Parallels.com> | Tue Jul 09 12:13:42 2013 +0100 |
tree | 5889e5f2aa73d5b9a32f6d0d55fd2c808a5216de | |
parent | e18d8bea33077d259cc826c6d3fa76d36af61876 [diff] |
[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>