public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
* LVM2/lib/format1 import-export.c
@ 2010-11-30 22:57 zkabelac
0 siblings, 0 replies; only message in thread
From: zkabelac @ 2010-11-30 22:57 UTC (permalink / raw)
To: lvm-devel, lvm2-cvs
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac@sourceware.org 2010-11-30 22:57:35
Modified files:
lib/format1 : import-export.c
Log message:
Remove unneeded test for NULL
Remove check for system_id (it is defined as int8_t[], so cannot be NULL).
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/format1/import-export.c.diff?cvsroot=lvm2&r1=1.115&r2=1.116
--- LVM2/lib/format1/import-export.c 2010/09/30 21:06:51 1.115
+++ LVM2/lib/format1/import-export.c 2010/11/30 22:57:35 1.116
@@ -185,7 +185,7 @@
}
/* Generate system_id if PV is in VG */
- if (!pvd->system_id || !*pvd->system_id)
+ if (!pvd->system_id[0])
if (!_system_id(cmd, (char *)pvd->system_id, ""))
return_0;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-11-30 22:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-30 22:57 LVM2/lib/format1 import-export.c zkabelac
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).