From 73be6aaa421aa33c43d56b67078cfe3625c1caf78924ac00c129c076da877350 Mon Sep 17 00:00:00 2001 From: Petr Uzel Date: Fri, 17 Sep 2010 14:01:23 +0000 Subject: [PATCH] fix bnc#639579 OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=31 --- always-resize-part.dif | 2 +- parted.changes | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/always-resize-part.dif b/always-resize-part.dif index 5ff9ac5..3125128 100644 --- a/always-resize-part.dif +++ b/always-resize-part.dif @@ -45,7 +45,7 @@ Index: parted/parted.c new_geom.start, new_geom.end)) goto error_close_fs; - if (!ped_file_system_resize (fs, &part->geom, g_timer)) -+ if(fs) ++ if(fs && (!always_resize || strncmp(fsname,"fat",3)==0)) + { + if (!ped_file_system_resize (fs, &part->geom, g_timer) && !always_resize ) goto error_close_fs; diff --git a/parted.changes b/parted.changes index fb874e2..347bc61 100644 --- a/parted.changes +++ b/parted.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 17 13:47:05 UTC 2010 - puzel@novell.com + +- fix always-resize-part.dif (bnc#639579) + ------------------------------------------------------------------- Wed Aug 11 08:45:56 UTC 2010 - puzel@novell.com