Group :: Sistema/Configurações/Hadware
RPM: gpart
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: gpart-0.1h-deb-ext3.patch
Download
Download
diff -ruNw gpart-0.1h.alt/src/gm_ext2.c gpart-0.1h.deb/src/gm_ext2.c
--- gpart-0.1h.alt/src/gm_ext2.c 2001-02-07 21:08:08 +0300
+++ gpart-0.1h.deb/src/gm_ext2.c 2008-04-01 01:38:13 +0400
@@ -121,9 +121,10 @@
/*
* current mount count shouldn't be greater than max+20
+ * but ext3 usually has s_max_mnt_count==-1
*/
- if (sb->s_mnt_count > sb->s_max_mnt_count + 20)
+ if ((sb->s_max_mnt_count!=-1)&&(sb->s_mnt_count > sb->s_max_mnt_count + 20))
return (1);
/*