This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

jffs2 patch


Here's a tiny little patch that makes debugging JFFS2
easier:

diff -ru packages-orig/fs/jffs2/current/ChangeLog packages/fs/jffs2/current/ChangeLog
--- packages-orig/fs/jffs2/current/ChangeLog	2003-10-08 14:06:52.000000000 +0200
+++ packages/fs/jffs2/current/ChangeLog	2003-10-14 12:55:04.000000000 +0200
@@ -1,3 +1,9 @@
+2003-10-14  Thomas Koeller  <thomas.koeller@baslerweb.com>
+
+	* src/os-ecos.h: Made definition of CONFIG_JFFS2_FS_DEBUG
+	conditional, so it can be overwritten by a -D compiler
+	option.
+                                                                               
 2003-09-23  Thomas Koeller  <thomas.koeller@baslerweb.com>
                                                                                
         * src/fs-ecos.c: Another umount() fix.
diff -ru packages-orig/fs/jffs2/current/src/os-ecos.h packages/fs/jffs2/current/src/os-ecos.h
--- packages-orig/fs/jffs2/current/src/os-ecos.h	2003-08-05 17:25:26.000000000 +0200
+++ packages/fs/jffs2/current/src/os-ecos.h	2003-10-14 12:37:08.000000000 +0200
@@ -21,7 +21,9 @@
 #include <linux/compiler.h>
 #include "jffs2port.h"
 
-#define CONFIG_JFFS2_FS_DEBUG 0
+#ifndef CONFIG_JFFS2_FS_DEBUG
+# define CONFIG_JFFS2_FS_DEBUG 0
+#endif
 
 static inline uint32_t os_to_jffs2_mode(uint32_t osmode)
 {

 
--------------------------------------------------

Thomas Koeller, Software Development

Basler Vision Technologies
An der Strusbek 60-62
22926 Ahrensburg
Germany

Tel +49 (4102) 463-162
Fax +49 (4102) 463-239

mailto:thomas.koeller@baslerweb.com
http://www.baslerweb.com

==============================


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]