projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs: More clean up
[yaffs2.git]
/
yaffs_guts.h
diff --git
a/yaffs_guts.h
b/yaffs_guts.h
index 4730efcb25f3d61aec67e169737e3c95a9c2f9e1..b4ee59fde923eb82acdd4c532714b92a99a31986 100644
(file)
--- a/
yaffs_guts.h
+++ b/
yaffs_guts.h
@@
-18,7
+18,6
@@
#include "yportenv.h"
#include "devextras.h"
#include "yportenv.h"
#include "devextras.h"
-#include "yaffs_list.h"
#define YAFFS_OK 1
#define YAFFS_FAIL 0
#define YAFFS_OK 1
#define YAFFS_FAIL 0
@@
-373,8
+372,8
@@
struct yaffs_file_var {
} ;
struct yaffs_dir_var{
} ;
struct yaffs_dir_var{
- struct
y
list_head children; /* list of child links */
- struct
ylist_head dirty;
/* Entry for list of dirty directories */
+ struct list_head children; /* list of child links */
+ struct
list_head dirty;
/* Entry for list of dirty directories */
};
struct yaffs_symlink_var{
};
struct yaffs_symlink_var{
@@
-424,14
+423,14
@@
struct yaffs_obj {
struct yaffs_dev *my_dev; /* The device I'm on */
struct yaffs_dev *my_dev; /* The device I'm on */
- struct
y
list_head hash_link; /* list of objects in this hash bucket */
+ struct list_head hash_link; /* list of objects in this hash bucket */
- struct
y
list_head hard_links; /* all the equivalent hard linked objects */
+ struct list_head hard_links; /* all the equivalent hard linked objects */
/* directory structure stuff */
/* also used for linking up the free list */
struct yaffs_obj *parent;
/* directory structure stuff */
/* also used for linking up the free list */
struct yaffs_obj *parent;
- struct
y
list_head siblings;
+ struct list_head siblings;
/* Where's my object header in NAND? */
int hdr_chunk;
/* Where's my object header in NAND? */
int hdr_chunk;
@@
-469,7
+468,7
@@
struct yaffs_obj {
};
struct yaffs_obj_bucket {
};
struct yaffs_obj_bucket {
- struct
y
list_head list;
+ struct list_head list;
int count;
} ;
int count;
} ;
@@
-608,7
+607,7
@@
struct yaffs_dev {
void *os_context;
void *driver_context;
void *os_context;
void *driver_context;
- struct
y
list_head dev_list;
+ struct list_head dev_list;
/* Runtime parameters. Set up by YAFFS. */
int data_bytes_per_chunk;
/* Runtime parameters. Set up by YAFFS. */
int data_bytes_per_chunk;
@@
-739,7
+738,7
@@
struct yaffs_dev {
int refresh_skip; /* A skip down counter. Refresh happens when this gets to zero. */
/* Dirty directory handling */
int refresh_skip; /* A skip down counter. Refresh happens when this gets to zero. */
/* Dirty directory handling */
- struct
y
list_head dirty_dirs; /* List of dirty directories */
+ struct list_head dirty_dirs; /* List of dirty directories */
/* Statistcs */
/* Statistcs */