Hello community, here is the log from the commit of package iscsitarget for openSUSE:Factory checked in at 2012-08-27 15:59:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/iscsitarget (Old) and /work/SRC/openSUSE:Factory/.iscsitarget.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "iscsitarget", Maintainer is "hare@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/iscsitarget/iscsitarget.changes 2012-04-23 16:11:24.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.iscsitarget.new/iscsitarget.changes 2012-08-27 15:59:28.000000000 +0200 @@ -1,0 +2,6 @@ +Mon Aug 27 11:47:22 UTC 2012 - idonmez@suse.com + +- Add iscsitarget-kernel-3.5.patch to fix compilation with kernel + 3.5 : ioc_task_link now returns void. + +------------------------------------------------------------------- New: ---- iscsitarget-kernel-3.5.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ iscsitarget.spec ++++++ --- /var/tmp/diff_new_pack.tTRDmr/_old 2012-08-27 15:59:31.000000000 +0200 +++ /var/tmp/diff_new_pack.tTRDmr/_new 2012-08-27 15:59:31.000000000 +0200 @@ -33,6 +33,7 @@ Source2: %{name}.sysconfig Source3: preamble Source4: services +Patch1: iscsitarget-kernel-3.5.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %suse_kernel_module_package -n %{name} -p %{S:3} kdump um @@ -55,6 +56,9 @@ %prep %setup -q -n %name-%version-svn +%if 0%{?suse_version} > 1220 +%patch1 -p1 +%endif echo "iscsi_trgt.ko yes" > kernel/Module.supported %build ++++++ iscsitarget-kernel-3.5.patch ++++++ Index: iscsitarget-1.4.20.3-svn/kernel/wthread.c =================================================================== --- iscsitarget-1.4.20.3-svn/kernel/wthread.c +++ iscsitarget-1.4.20.3-svn/kernel/wthread.c @@ -70,7 +70,8 @@ static int worker_thread(void *arg) if (current->io_context) put_io_context(current->io_context); - if (!(current->io_context = ioc_task_link(info->wthread_ioc))) + ioc_task_link(info->wthread_ioc); + if (!(current->io_context = info->wthread_ioc)) info->wthread_ioc = get_task_io_context(current, GFP_KERNEL, -1); add_wait_queue(&info->wthread_sleep, &wait); -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de