[yast-commit] r67286 - in /trunk/storage: package/yast2-storage.changes storage/src/include/ep-dialogs.ycp
Author: fehr Date: Wed Jan 25 13:09:16 2012 New Revision: 67286 URL: http://svn.opensuse.org/viewcvs/yast?rev=67286&view=rev Log: allow resize and move if simple btrfs volumes if they are formatted anyway (bnc#742491) Modified: trunk/storage/package/yast2-storage.changes trunk/storage/storage/src/include/ep-dialogs.ycp Modified: trunk/storage/package/yast2-storage.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/package/yast2-storage.changes?rev=67286&r1=67285&r2=67286&view=diff ============================================================================== --- trunk/storage/package/yast2-storage.changes (original) +++ trunk/storage/package/yast2-storage.changes Wed Jan 25 13:09:16 2012 @@ -1,6 +1,8 @@ ------------------------------------------------------------------- Wed Jan 25 12:20:53 CET 2012 - fehr@suse.de +- allow resize and move of simple btrfs volumes if they are + formatted anyway (bnc#742491) - fix bug handling used devices of simple btrfs volumes in resize ------------------------------------------------------------------- Modified: trunk/storage/storage/src/include/ep-dialogs.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/ep-dialogs.ycp?rev=67286&r1=67285&r2=67286&view=diff ============================================================================== --- trunk/storage/storage/src/include/ep-dialogs.ycp (original) +++ trunk/storage/storage/src/include/ep-dialogs.ycp Wed Jan 25 13:09:16 2012 @@ -637,6 +637,7 @@ map<string, boolean> possible = Storage::IsResizable(data); + y2milestone( "DlgResize data: %1", data ); if (!data["format"]:false && !possible["shrink"]:false && !possible["extend"]:false) { // popup text @@ -836,7 +837,8 @@ boolean lvm = data["type"]:`unknown == `lvm; //1 - ask & be interactive, 2 - we are on lvm, 3 - cyl.diff, 4 - filesystem, 5 - mountpoint - if (!CheckResizePossible(false, lvm, size_k - old_size_k, used_fs, mountpoint)) + if (!data["format"]:false && + !CheckResizePossible(false, lvm, size_k - old_size_k, used_fs, mountpoint)) { //FIXME: To check whether the part. can be resized only //after user tries to do that is stupid - in some cases -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
fehr@svn2.opensuse.org