[yast-commit] r60215 - /branches/SuSE-Code-11-SP1-Branch/storage/libstorage/src/StorageTypes.h
Author: aschnell Date: Mon Jan 4 12:33:02 2010 New Revision: 60215 URL: http://svn.opensuse.org/viewcvs/yast?rev=60215&view=rev Log: - handle MDPART in container sorting function Modified: branches/SuSE-Code-11-SP1-Branch/storage/libstorage/src/StorageTypes.h Modified: branches/SuSE-Code-11-SP1-Branch/storage/libstorage/src/StorageTypes.h URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/storage/libstorage/src/StorageTypes.h?rev=60215&r1=60214&r2=60215&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/storage/libstorage/src/StorageTypes.h (original) +++ branches/SuSE-Code-11-SP1-Branch/storage/libstorage/src/StorageTypes.h Mon Jan 4 12:33:02 2010 @@ -37,13 +37,14 @@ static const int order[COTYPE_LAST_ENTRY] = { 0, // CUNKNOWN 1, // DISK - 4, // MD - 7, // LOOP - 6, // LVM - 5, // DM + 5, // MD + 8, // LOOP + 7, // LVM + 6, // DM 2, // DMRAID - 8, // NFSC - 3 // DMMULTIPATH + 9, // NFSC + 3, // DMMULTIPATH + 4 // MDPART }; bool ret = order[a] < order[b]; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
aschnell@svn.opensuse.org