From 0b868966db8626cd55e2564cbeca7780d44b5e63 Mon Sep 17 00:00:00 2001 From: Vladimir Sokolovsky Date: Tue, 10 Dec 2013 16:20:30 +0200 Subject: [PATCH] Fixed SRP backport for SLES11 SP3 Signed-off-by: Vladimir Sokolovsky --- patches/0005-BACKPORT-ib_srp.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/0005-BACKPORT-ib_srp.patch b/patches/0005-BACKPORT-ib_srp.patch index da487e1..62a4ef2 100644 --- a/patches/0005-BACKPORT-ib_srp.patch +++ b/patches/0005-BACKPORT-ib_srp.patch @@ -56,7 +56,7 @@ index xxxxxxx..xxxxxxx xxxxxx if (ret == 0) ret = srp_connect_target(target); -+#if (LINUX_VERSION_CODE > KERNEL_VERSION(3, 6, 0)) ++#if (LINUX_VERSION_CODE > KERNEL_VERSION(3, 6, 0)) || defined(CONFIG_COMPAT_SCSI_TARGET_UNBLOCK) scsi_target_unblock(&shost->shost_gendev, ret == 0 ? SDEV_RUNNING : SDEV_TRANSPORT_OFFLINE); +#else -- 2.41.0