Skip to contentSkip to conversation

dmraid ./dmraid.spec lib/device/scan.c tools/V ...

PATCH [email protected] 1 participant 1 message Dec 2, 2011 Device mapper

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/dm
Module name: dmraid
Changes by: [email protected] 2011-12-02 14:12:29

Modified files:

	.              : dmraid.spec 
	lib/device     : scan.c 
	tools          : VERSION 

Log message:

	Avoid error messages for sector sizes != 512 bytes

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/dmraid/dmraid.spec.diff?cvsroot=dm&r1=1.14&r2=1.15
http://sourceware.org/cgi-bin/cvsweb.cgi/dmraid/lib/device/scan.c.diff?cvsroot=dm&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/dmraid/tools/VERSION.diff?cvsroot=dm&r1=1.9&r2=1.10

dmraid.spec +8 -2
@@ -7,7 +7,7 @@
 Summary: dmraid (Device-mapper RAID tool and library)
 Name: dmraid
 Version: 1.0.0.rc16
-Release: 5%{?dist}
+Release: 6%{?dist}
 License: GPLv2+
 Group: System Environment/Base
 URL: http://people.redhat.com/heinzm/sw/dmraid
@@ -65,7 +65,7 @@
 %build
 %define _libdir /%{_lib}
 
-%configure --prefix=/usr --sbindir=/sbin --libdir=%{_libdir} --mandir=%{_mandir} --includedir=%{_includedir} --enable-debug --enable-libselinux --enable-libsepol --disable-static_link --enable-led --enable-intel_led
+%configure --prefix=/usr --sbindir=/sbin --libdir=%{_libdir} --mandir=%{_mandir} --includedir=%{_includedir} --enable-debug --disable-static_link --enable-led --enable-intel_led
 make
 
 %install
@@ -125,6 +125,12 @@
 %ghost /var/cache/logwatch/dmeventd/syslogpattern.txt
 
 %changelog
+* Fri Dex 2 2011  Heinz Mauelshagen <[email protected]> - 1.0.0.rc16-7
+- Avoid error message for sector sizes != 512 bytes
+
+* Mon May 31 2010  Heinz Mauelshagen <[email protected]> - 1.0.0.rc16-6
+- remove superfluous libselinux/libsepol configure options
+
 * Tue Jan 12 2010  Heinz Mauelshagen <[email protected]> - 1.0.0.rc16-5
 - Support DESTDIR in all Makefiles
 - Fix handling spares in RAID names in vendor metadata
lib/device/scan.c +3 -0
@@ -148,8 +148,11 @@
 		sector_size = DMRAID_SECTOR_SIZE;
 
 	if (sector_size != DMRAID_SECTOR_SIZE)
+		return 0;
+#if 0
 		LOG_ERR(lc, 0, "unsupported sector size %d on %s.",
 			sector_size, di->path);
+#endif
 
 	/* Use size device ioctl in case we didn't get the size from sysfs. */
 	if (!di->sectors && !ioctl(fd, BLKGETSIZE, &size))
tools/VERSION +1 -1
@@ -1 +1 @@
-1.0.0.rc16-3 (2010.01.12)
+1.0.0.rc16-3 (2010.11.12)