[yast-commit] r55459 - in /branches/SuSE-Code-11-Branch/storage: VERSION package/yast2-storage.changes storage/src/modules/Storage.ycp
Author: aschnell Date: Thu Feb 12 12:08:17 2009 New Revision: 55459 URL: http://svn.opensuse.org/viewcvs/yast?rev=55459&view=rev Log: - keep bios_id in functions that update target-map (bnc #472476) Modified: branches/SuSE-Code-11-Branch/storage/VERSION branches/SuSE-Code-11-Branch/storage/package/yast2-storage.changes branches/SuSE-Code-11-Branch/storage/storage/src/modules/Storage.ycp Modified: branches/SuSE-Code-11-Branch/storage/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/storage/VERSION?rev=55459&r1=55458&r2=55459&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/storage/VERSION (original) +++ branches/SuSE-Code-11-Branch/storage/VERSION Thu Feb 12 12:08:17 2009 @@ -1 +1 @@ -2.17.71 +2.17.72 Modified: branches/SuSE-Code-11-Branch/storage/package/yast2-storage.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/storage/package/yast2-storage.changes?rev=55459&r1=55458&r2=55459&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/storage/package/yast2-storage.changes (original) +++ branches/SuSE-Code-11-Branch/storage/package/yast2-storage.changes Thu Feb 12 12:08:17 2009 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Feb 12 12:06:48 CET 2009 - aschnell@suse.de + +- keep bios_id in functions that update target-map (bnc #472476) +- 2.17.72 + +------------------------------------------------------------------- Sun Feb 08 20:52:18 CET 2009 - aschnell@suse.de - fixed path for xfs_growfs (bnc #473717) Modified: branches/SuSE-Code-11-Branch/storage/storage/src/modules/Storage.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/storage/storage/src/modules/Storage.ycp?rev=55459&r1=55458&r2=55459&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/storage/storage/src/modules/Storage.ycp (original) +++ branches/SuSE-Code-11-Branch/storage/storage/src/modules/Storage.ycp Thu Feb 12 12:08:17 2009 @@ -1827,6 +1827,11 @@ integer count=0; +boolean IsDiskType(symbol t) +{ + return contains([ `CT_DISK, `CT_DMRAID, `CT_DMMULTIPATH ], t); +} + /** * Updates target map * @@ -1844,7 +1849,7 @@ c = find( map c, conts, ``(c["device"]:""==dev) ); if( c==nil ) rem_keys = add( rem_keys, dev ); - else if( c["type"]:`CT_UNKNONW==`CT_DISK ) + else if (IsDiskType(c["type"]:`CT_UNKNOWN)) { tg[dev] = toDiskMap( tg[dev]:$[], getContainerInfo( c ) ); } @@ -1883,7 +1888,7 @@ if( haskey( tg, dev ) ) tg = remove( tg, dev ); } - else if( c["type"]:`CT_UNKNONW==`CT_DISK ) + else if (IsDiskType(c["type"]:`CT_UNKNOWN)) { tg[dev] = toDiskMap( tg[dev]:$[], getContainerInfo( c ) ); } -- 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