diff --git a/kernel/mars_buf.c b/kernel/mars_buf.c index 09f34666..b65a98eb 100644 --- a/kernel/mars_buf.c +++ b/kernel/mars_buf.c @@ -22,14 +22,12 @@ */ -// Buf brick - /* FIXME: this code has been unused for a long time, it is unlikly * to work at all. */ -//#define BRICK_DEBUGGING -//#define MARS_DEBUGGING +// #define BRICK_DEBUGGING +// #define MARS_DEBUGGING #include #include @@ -39,11 +37,11 @@ #include "mars.h" -//#define FAKE_IO // only for testing -//#define FAKE_READS // only for testing -//#define FAKE_WRITES // only for testing +// #define FAKE_IO // only for testing +// #define FAKE_READS // only for testing +// #define FAKE_WRITES // only for testing -//#define OPTIMIZE_FULL_WRITES // does not work currently! +// #define OPTIMIZE_FULL_WRITES // does not work currently! ///////////////////////// own type definitions //////////////////////// @@ -379,7 +377,7 @@ bool _mref_remove(struct buf_head *bf, struct buf_mref_aspect *mref_a) -/////////////////////////////////////////////////////////////7 +///////////////////////////////////////////////////////////// static inline int _get_info(struct buf_brick *brick) @@ -908,7 +906,7 @@ static void buf_ref_io(struct buf_output *output, struct mref_object *mref) #if 0 // by definition, a writeout buffer is always uptodate bf->bf_flags |= (MREF_WRITING | MREF_UPTODATE); -#else // wirklich??? +#else // really ??? bf->bf_flags |= MREF_WRITING; #endif bf->bf_error = 0;