Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2014-03-01 14:38:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libstorage (Old)
 and      /work/SRC/openSUSE:Factory/.libstorage.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libstorage"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes    2014-02-26 
23:20:29.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes       
2014-03-01 14:38:35.000000000 +0100
@@ -1,0 +2,10 @@
+Fri Feb 28 14:40:34 CET 2014 - [email protected]
+
+- adjust start cylinder of partitions on ECKD DASDs (bnc#866149)
+
+-------------------------------------------------------------------
+Wed Feb 26 18:05:56 CET 2014 - [email protected]
+
+- fixed formatting after changing filesystem type (bnc#848655)
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libstorage-2.25.9.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.9/storage/Disk.cc 
new/libstorage-2.25.9/storage/Disk.cc
--- old/libstorage-2.25.9/storage/Disk.cc       2014-02-24 14:59:33.000000000 
+0100
+++ new/libstorage-2.25.9/storage/Disk.cc       2014-02-28 15:05:13.000000000 
+0100
@@ -722,14 +722,19 @@
     };
 
 
-Region Disk::usableCylRegion() const
-{
-    unsigned long long maxSectors = (1ULL << 32) - 1;
-    DlabelCapabilities caps;
-    if (getDlabelCapabilities(label, caps))
-       maxSectors = caps.maxSectors;
-    return Region(0, min(cylinders(), kbToCylinder(sectorToKb(maxSectors))));
-}
+    Region
+    Disk::usableCylRegion() const
+    {
+       unsigned long long maxSectors = (1ULL << 32) - 1;
+       DlabelCapabilities caps;
+       if (getDlabelCapabilities(label, caps))
+           maxSectors = caps.maxSectors;
+
+       unsigned long start = label == "dasd" ? 1 : 0;
+       unsigned long len = min(cylinders(), 
kbToCylinder(sectorToKb(maxSectors)));
+
+       return Region(start, len - start);
+    }
 
 
     const string Disk::p_disks[] = { "cciss/", "ida/", "ataraid/", "etherd/", 
"rd/", "mmcblk[0-9]+",
@@ -1175,6 +1180,13 @@
     {
     y2mil("begin type " << toString(type) << " at " << start << " len " << len 
<< " relaxed:" <<
          checkRelaxed);
+
+    if (label == "dasd" && start == 0)
+    {
+       y2war("adjusting partition start");
+       start = 1;
+    }
+
     getStorage()->logCo( this );
     int ret = createChecks(type, Region(start, len), checkRelaxed);
     unsigned number = 0;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.9/storage/Storage.cc 
new/libstorage-2.25.9/storage/Storage.cc
--- old/libstorage-2.25.9/storage/Storage.cc    2014-02-24 14:59:33.000000000 
+0100
+++ new/libstorage-2.25.9/storage/Storage.cc    2014-02-26 18:51:02.000000000 
+0100
@@ -2414,11 +2414,10 @@
                    vol->updateFsData();
                    vol->clearUsedBy();
                    vol->changeMount( mp );
-                    if( !mp.empty() )
+                    if( mounted && !mp.empty() )
                         {
                         vol->setMount(mp);
-                        if( mounted )
-                            vol->setMounted();
+                       vol->setMounted();
                         }
                     if( mby_uuid )
                         vol->changeMountBy( vol->defaultMountBy() );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.9/storage/gen_md5sum.cc 
new/libstorage-2.25.9/storage/gen_md5sum.cc
--- old/libstorage-2.25.9/storage/gen_md5sum.cc 2014-02-24 15:01:05.000000000 
+0100
+++ new/libstorage-2.25.9/storage/gen_md5sum.cc 2014-02-28 15:05:17.000000000 
+0100
@@ -1,5 +1,5 @@
-#define SOURCES_MD5SUM   "6b670645cb598698baf7428432785926"
-#define SOURCES_MD5_DATE " Mon 24 Feb 15:01:05 CET 2014 "
+#define SOURCES_MD5SUM   "6f12a7882155867f8d04745c5a0e82d4"
+#define SOURCES_MD5_DATE " Fri 28 Feb 15:05:17 CET 2014 "
 namespace storage
 {
 const char* GetSourceMd5() { return SOURCES_MD5SUM; }

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to