* [patch] measurefs.reiser4 --data-frag does not run
@ 2004-09-13 8:53 Will Smith
0 siblings, 0 replies; only message in thread
From: Will Smith @ 2004-09-13 8:53 UTC (permalink / raw)
To: reiserfs-list
[-- Attachment #1: Type: text/plain, Size: 279 bytes --]
Minor patch, measurefs.reiser4-v1.0.0's --data-frag
was always returning -ENOMEM and not running, due to missing
curly brackets.
Will Smith
--
1400 high resolution textures - http://www.mayang.com/textures
Panoramic travel photos - http://www.willsmith.org/pano
[-- Attachment #2: measurefs_datafrag_enomem_bug.patch --]
[-- Type: text/plain, Size: 428 bytes --]
--- measurefs.c.orig 2004-09-13 16:38:00.128518704 +0800
+++ measurefs.c 2004-09-13 16:35:36.695323864 +0800
@@ -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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-09-13 8:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-13 8:53 [patch] measurefs.reiser4 --data-frag does not run Will Smith
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.