Skip to contentSkip to conversation

measurefs.reiser4 --data-frag does not run

PATCH New Will Smith 1 participant 1 message Sep 13, 2004

lore
Share & tools
lore

Will Smith

author
#0 lore raw

PATCH 1/1 measurefs.reiser4 --data-frag does not run

Minor patch, measurefs.reiser4-v1.0.0's --data-frag was always returning -ENOMEM and not running, due to missing curly brackets.

Will Smith

Signature · 2 lines
1400 high resolution textures - http://www.mayang.com/textures
Panoramic travel photos       - http://www.willsmith.org/pano
measurefs.c renamed from measurefs.c.orig +2 -1
@@ -653,9 +653,10 @@ errno_t measurefs_data_frag(reiser4_fs_t
 			aal_gauge_create(aux_gauge_handlers[GT_PROGRESS],
 					 NULL, NULL, 0, "Data fragmentation "
 					 "... ");
-		if (!frag_hint.gauge)
+		if (!frag_hint.gauge) {
 			aal_fatal("Out of memory!");
 			return -ENOMEM;
+		}
 	}
 
 	frag_hint.flags = flags;