rpms/iscsitarget-kmod/F-10 iscsitarget-0.4.17-2.6.29.patch, NONE,
1.1 .cvsignore, 1.2, 1.3 iscsitarget-kmod.spec, 1.20,
1.21 sources, 1.2, 1.3 iscsitarget-0.4.15-svn147.patch, 1.1,
NONE iscsitarget-0.4.15-types.h.patch, 1.1, NONE
Lubomir Rintel
lkundrak at rpmfusion.org
Wed Apr 15 19:57:18 CEST 2009
- Previous message: rpms/wl-kmod/F-10 wl-kmod.spec,1.22,1.23
- Next message: rpms/iscsitarget/F-10 .cvsignore, 1.2, 1.3 iscsitarget.spec, 1.2,
1.3 sources, 1.2, 1.3 iscsitarget-0.4.15-qelem.patch, 1.1,
NONE iscsitarget-0.4.15-svn142.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: lkundrak
Update of /cvs/free/rpms/iscsitarget-kmod/F-10
In directory se02.es.rpmfusion.net:/tmp/cvs-serv6784
Modified Files:
.cvsignore iscsitarget-kmod.spec sources
Added Files:
iscsitarget-0.4.17-2.6.29.patch
Removed Files:
iscsitarget-0.4.15-svn147.patch
iscsitarget-0.4.15-types.h.patch
Log Message:
Merge from devel
iscsitarget-0.4.17-2.6.29.patch:
--- NEW FILE iscsitarget-0.4.17-2.6.29.patch ---
Fix build with 2.6.29.
Addresses these changes:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=30c40d2c01f68c7eb1a41ab3552bdaf5dbf300d4;hp=9a1c3542768b5a58e45a9216921cd10a3bae1205
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=b189db5d299c6824780af5590564ff608adb3dea;hp=a20fd0a783551831bb6b9b69710e5bbb93dc2730
Lubomir Rintel <lkundrak at v3.sk>
Index: kernel/block-io.c
===================================================================
--- kernel/block-io.c (revision 198)
+++ kernel/block-io.c (working copy)
@@ -13,6 +13,7 @@
#include <linux/blkdev.h>
#include <linux/parser.h>
#include <linux/buffer_head.h>
+#include <linux/version.h>
#include "iscsi.h"
#include "iscsi_dbg.h"
@@ -154,14 +155,22 @@
{
struct blockio_data *bio_data = volume->private;
struct block_device *bdev;
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29)
int flags = LUReadonly(volume) ? MS_RDONLY : 0;
+#else
+ fmode_t flags = LUReadonly(volume) ? FMODE_READ : (FMODE_READ | FMODE_WRITE);
+#endif
int err = 0;
bio_data->path = kstrdup(path, GFP_KERNEL);
if (!bio_data->path)
return -ENOMEM;
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29)
bdev = open_bdev_excl(path, flags, THIS_MODULE);
+#else
+ bdev = open_bdev_exclusive(path, flags, THIS_MODULE);
+#endif
if (IS_ERR(bdev)) {
err = PTR_ERR(bdev);
eprintk("Can't open device %s, error %d\n", path, err);
@@ -324,8 +333,17 @@
{
struct blockio_data *bio_data = volume->private;
- if (bio_data->bdev)
+ if (bio_data->bdev) {
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29)
close_bdev_excl(bio_data->bdev);
+#else
+ if (LUReadonly(volume)) {
+ close_bdev_exclusive(bio_data->bdev, FMODE_READ);
+ } else {
+ close_bdev_exclusive(bio_data->bdev, FMODE_READ|FMODE_WRITE);
+ }
+#endif
+ }
kfree(bio_data->path);
kfree(volume->private);
Index: kernel/conn.c
===================================================================
--- kernel/conn.c (revision 198)
+++ kernel/conn.c (working copy)
@@ -46,9 +46,13 @@
"%u.%u.%u.%u", NIPQUAD(inet_sk(sk)->daddr));
break;
case AF_INET6:
+#ifdef NIP6
snprintf(buf, sizeof(buf),
"[%04x:%04x:%04x:%04x:%04x:%04x:%04x:%04x]",
NIP6(inet6_sk(sk)->daddr));
+#else
+ snprintf(buf, sizeof(buf), "[%p6]", &inet6_sk(sk)->daddr);
+#endif
break;
default:
break;
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/iscsitarget-kmod/F-10/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore 3 Oct 2008 14:22:10 -0000 1.2
+++ .cvsignore 15 Apr 2009 17:57:18 -0000 1.3
@@ -1 +1 @@
-iscsitarget-0.4.15.tar.gz
+iscsitarget-0.4.17.tar.gz
Index: iscsitarget-kmod.spec
===================================================================
RCS file: /cvs/free/rpms/iscsitarget-kmod/F-10/iscsitarget-kmod.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- iscsitarget-kmod.spec 15 Apr 2009 14:08:23 -0000 1.20
+++ iscsitarget-kmod.spec 15 Apr 2009 17:57:18 -0000 1.21
@@ -3,14 +3,11 @@
# "buildforkernels newest" macro for just that build; immediately after
# queuing that build enable the macro again for subsequent builds; that way
# a new akmod package will only get build when a new one is actually needed
-%define buildforkernels newest
-
-# Release code won't build for newer kernels
-%define patchlevel svn147
+#define buildforkernels newest
Name: iscsitarget-kmod
-Version: 0.4.15
-Release: 41.%{patchlevel}%{?dist}.18
+Version: 0.4.17
+Release: 2%{?dist}.6
Epoch: 1
Summary: iscsitarget kernel modules
@@ -18,11 +15,7 @@
License: GPLv2
URL: http://sourceforge.net/projects/iscsitarget/
Source0: http://dl.sf.net/iscsitarget/iscsitarget-%{version}.tar.gz
-# This was created with:
-# svn diff http://svn.berlios.de/svnroot/repos/iscsitarget/tags/0.4.15/ \
-# http://svn.berlios.de/svnroot/repos/iscsitarget/trunk/@147
-Patch0: iscsitarget-0.4.15-%{patchlevel}.patch
-Patch1: iscsitarget-0.4.15-types.h.patch
+Patch0: iscsitarget-0.4.17-2.6.29.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# needed for plague to make sure it builds for i586 and i686
@@ -47,10 +40,7 @@
# go
%setup -q -c -T -a 0
pushd iscsitarget-%{version}
-%patch0 -p0
-%patch1 -p1
-#%patch0 -p0 -b .svn142
-# -b creates empty mode 000 file that cannot be copied with cp -a
+%patch0 -p0 -b .2.6.29
popd
for kernel_version in %{?kernel_versions}; do
@@ -81,31 +71,44 @@
%changelog
-* Wed Apr 15 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 1:0.4.15-41.svn147.18
+* Sun Apr 05 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 1:0.4.17-2.6
- rebuild for new kernels
-* Wed Mar 25 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 1:0.4.15-41.svn147.17
-- rebuild for new kernels
+* Sun Mar 29 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 1:0.4.17-2.5
+- rebuild for new F11 features
-* Tue Feb 24 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 1:0.4.15-41.svn147.16
+* Sun Feb 15 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 1:0.4.17-1.5
- rebuild for latest Fedora kernel;
-* Fri Feb 13 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 1:0.4.15-41.svn147.15
+* Sun Feb 01 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 1:0.4.17-1.4
- rebuild for latest Fedora kernel;
-* Wed Jan 28 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 1:0.4.15-41.svn147.14
-- rebuild
+* Sun Jan 25 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 1:0.4.17-1.3
+- rebuild for latest Fedora kernel;
-* Sat Jan 24 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 1:0.4.15-41.svn147.13
+* Sun Jan 18 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 1:0.4.17-1.2
- rebuild for latest Fedora kernel;
-* Sat Dec 20 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 1:0.4.15-41.svn147.12
+* Sun Jan 11 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 1:0.4.17-1.1
- rebuild for latest Fedora kernel;
-* Sat Dec 06 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 1:0.4.15-41.svn147.11
+* Mon Jan 05 2009 Lubomir Rintel <lkundrak at v3.sk> - 1:0.4.17-1
+- Bump to latest upstream version
+- Fix for 2.6.29
+
+* Sun Jan 04 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 1:0.4.15-42.svn147.3
+- rebuild for latest Fedora kernel;
+
+* Sun Dec 28 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 1:0.4.15-42.svn147.2
+- rebuild for latest Fedora kernel;
+
+* Sat Dec 27 2008 Hans de Goede <hdegoede at redhat.com> - 1:0.4.15-42.svn147.1
+- Fix compilation with 2.6.28 kernel
+
+* Sun Dec 21 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 1:0.4.15-41.svn147.11
- rebuild for latest Fedora kernel;
-* Tue Dec 02 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 1:0.4.15-41.svn147.10
+* Sun Dec 14 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 1:0.4.15-41.svn147.10
- rebuild for latest Fedora kernel;
* Sat Nov 22 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 1:0.4.15-41.svn147.9
Index: sources
===================================================================
RCS file: /cvs/free/rpms/iscsitarget-kmod/F-10/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources 3 Oct 2008 14:22:10 -0000 1.2
+++ sources 15 Apr 2009 17:57:18 -0000 1.3
@@ -1 +1 @@
-81390e388d87e3cc17383ef5f4322c28 iscsitarget-0.4.15.tar.gz
+e79b437695fc50e7d054631855a16b1b iscsitarget-0.4.17.tar.gz
--- iscsitarget-0.4.15-svn147.patch DELETED ---
--- iscsitarget-0.4.15-types.h.patch DELETED ---
- Previous message: rpms/wl-kmod/F-10 wl-kmod.spec,1.22,1.23
- Next message: rpms/iscsitarget/F-10 .cvsignore, 1.2, 1.3 iscsitarget.spec, 1.2,
1.3 sources, 1.2, 1.3 iscsitarget-0.4.15-qelem.patch, 1.1,
NONE iscsitarget-0.4.15-svn142.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the rpmfusion-commits
mailing list