mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 19:21:26 +00:00
Cleanup and compile fix for breakage reported by Bart Van Assche <bvanassche@acm.org>
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4272 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -941,7 +941,6 @@ static int vdisk_attach_tgt(struct scst_tgt_dev *tgt_dev)
|
||||
virt_dev->fd = NULL;
|
||||
|
||||
out:
|
||||
|
||||
TRACE_EXIT_RES(res);
|
||||
return res;
|
||||
}
|
||||
|
||||
@@ -67,6 +67,12 @@ static int strncasecmp(const char *s1, const char *s2, size_t n)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if !((LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 30)) && defined(SCSI_EXEC_REQ_FIFO_DEFINED)) && !defined(HAVE_SG_COPY)
|
||||
static int sg_copy(struct scatterlist *dst_sg, struct scatterlist *src_sg,
|
||||
int nents_to_copy, size_t copy_len,
|
||||
enum km_type d_km_type, enum km_type s_km_type);
|
||||
#endif
|
||||
|
||||
static void scst_destroy_put_cmd(struct scst_cmd *cmd);
|
||||
|
||||
struct scst_sdbops;
|
||||
|
||||
Reference in New Issue
Block a user