yaffs: Improve debug chunk erased checking, change refreshPeriod
[yaffs2.git] / devextras.h
index 35c34460c706814f881de3aa4dc18c9f7eb41aef..215caa50f1782e6a8543998c982d4001a2cb52e0 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * YAFFS: Yet another Flash File System . A NAND-flash specific file system.
  *
- * Copyright (C) 2002-2007 Aleph One Ltd.
+ * Copyright (C) 2002-2010 Aleph One Ltd.
  *   for Toby Churchill Ltd and Brightstar Engineering
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
@@ -53,8 +53,8 @@ struct ylist_head name = { &(name), &(name)}
 /* Initialise a list head to an empty list */
 #define YINIT_LIST_HEAD(p) \
 do { \
- (p)->next = (p);\
- (p)->prev = (p); \
      (p)->next = (p);\
      (p)->prev = (p); \
 } while (0)
 
 
@@ -184,9 +184,6 @@ struct iattr {
 
 #endif
 
-
-#define KERN_DEBUG
-
 #else
 
 #include <linux/types.h>