measurefs.reiser4 --data-frag does not run
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_taal_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;