From 97c44e27ce06f69c08c243237ec7e8e4a2c7b0a5 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Tue, 14 Nov 2017 04:18:00 +0000 Subject: [PATCH 1/2] web: fixed broken link Reported-By: Gilbert Standen git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7267 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- www/downloads.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/downloads.html b/www/downloads.html index fb0877414..4fe3d0f29 100644 --- a/www/downloads.html +++ b/www/downloads.html @@ -61,7 +61,7 @@

svn checkout svn://svn.code.sf.net/p/scst/svn/trunk scst-trunk

Also you can find in the SCST SVN the latest updates for the stable branches. More information about accessing SVN repository may be found - here. Or, alternatively, you can download it as a GNU tarball from + here. Or, alternatively, you can download it as a GNU tarball from here.

History of the pre-SVN SCST development is available in SCST CVS repository, which is accessible using From 8c92d5c168275588bea1ef7866234731a3eb8020 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 14 Nov 2017 16:37:24 +0000 Subject: [PATCH 2/2] scst: Fix kernel <= 2.6.30 build git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7268 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/include/backport.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scst/include/backport.h b/scst/include/backport.h index b67455621..75af117c9 100644 --- a/scst/include/backport.h +++ b/scst/include/backport.h @@ -758,8 +758,13 @@ static inline void scsi_req_init(struct request *rq) { #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 16, 0) rq->cmd_type = REQ_TYPE_BLOCK_PC; +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 31) + rq->data_len = 0; + rq->sector = (sector_t) -1; +#else rq->__data_len = 0; rq->__sector = (sector_t) -1; +#endif rq->bio = rq->biotail = NULL; memset(rq->__cmd, 0, sizeof(rq->__cmd)); rq->cmd = rq->__cmd;