SCST core and iSCSI-SCST: Port to RHEL / CentOS / SL 5.7 (merged r4111 and r4112 from trunk)

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4126 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2012-02-13 19:23:52 +00:00
parent 55ea8b70c1
commit d663c8d47d
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -382,7 +382,8 @@ void target_del_all(void)
#ifdef CONFIG_SCST_PROC
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19)
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19) && \
(!defined(RHEL_MAJOR) || RHEL_MAJOR -0 <= 5 && RHEL_MINOR -0 <= 6)
static struct list_head *seq_list_start(struct list_head *head, loff_t pos)
{
struct list_head *lh;