summaryrefslogtreecommitdiffstats
path: root/testing/iscsi-scst-grsec/config.c.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/iscsi-scst-grsec/config.c.patch')
-rw-r--r--testing/iscsi-scst-grsec/config.c.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/iscsi-scst-grsec/config.c.patch b/testing/iscsi-scst-grsec/config.c.patch
new file mode 100644
index 00000000..e3b15232
--- /dev/null
+++ b/testing/iscsi-scst-grsec/config.c.patch
@@ -0,0 +1,12 @@
+--- iscsi-scst/kernel/config.c 2009/05/11 17:24:51 841
++++ iscsi-scst/kernel/config.c 2009/07/08 17:27:30 938
+@@ -203,7 +203,9 @@
+ goto out;
+ }
+
++#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 30)
+ proc_iscsi_dir->owner = THIS_MODULE;
++#endif
+
+ err = iscsi_proc_log_entry_build(&iscsi_template);
+ if (err < 0)