rpms/yaboot/devel yaboot-1.3.13-swraid2.patch,1.2,1.3

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu Aug 11 12:55:10 UTC 2005


Author: dwmw2

Update of /cvs/dist/rpms/yaboot/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv28186

Modified Files:
	yaboot-1.3.13-swraid2.patch 
Log Message:
don't dereference part unconditionally

yaboot-1.3.13-swraid2.patch:
 include/fdisk-part.h |    1 +
 include/partition.h  |    1 +
 second/fs_of.c       |    8 ++++++++
 second/partition.c   |   17 +++++++++++------
 4 files changed, 21 insertions(+), 6 deletions(-)

Index: yaboot-1.3.13-swraid2.patch
===================================================================
RCS file: /cvs/dist/rpms/yaboot/devel/yaboot-1.3.13-swraid2.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- yaboot-1.3.13-swraid2.patch	25 Jul 2005 20:09:44 -0000	1.2
+++ yaboot-1.3.13-swraid2.patch	11 Aug 2005 12:55:06 -0000	1.3
@@ -79,7 +79,7 @@
       DEBUG_ENTER;
       DEBUG_OPEN;
  
-+     if (part->sys_ind == LINUX_RAID)
++     if (part && part->sys_ind == LINUX_RAID)
 +     {
 +	  DEBUG_F("skipping because partition is marked LINUX_RAID\n");
 + 	  DEBUG_LEAVE(FILE_ERR_BAD_FSYS);




More information about the fedora-cvs-commits mailing list