diff options
author | Charles Manning <cdhmanning@gmail.com> | 2010-11-02 15:16:48 +1300 |
---|---|---|
committer | Charles Manning <cdhmanning@gmail.com> | 2010-11-02 15:16:48 +1300 |
commit | 757a553001be4016e9c5d8880648d3703f34b10e (patch) | |
tree | 36d0c4b5af991bab33a848e552e46bab849ab128 /yaffs_allocator.c | |
parent | 9131fecc79ad4e5fbdb775cdc067bc80aae5adb8 (diff) |
yaffs: More clean up
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Diffstat (limited to 'yaffs_allocator.c')
-rw-r--r-- | yaffs_allocator.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yaffs_allocator.c b/yaffs_allocator.c index 586ca05..35d8869 100644 --- a/yaffs_allocator.c +++ b/yaffs_allocator.c @@ -315,7 +315,7 @@ static int yaffs_create_free_objs(struct yaffs_dev *dev, int n_obj) /* Hook them into the free list */ for (i = 0; i < n_obj - 1; i++) { new_objs[i].siblings.next = - (struct ylist_head *)(&new_objs[i + 1]); + (struct list_head *)(&new_objs[i + 1]); } new_objs[n_obj - 1].siblings.next = (void *)allocator->free_objs; @@ -366,7 +366,7 @@ void yaffs_free_raw_obj(struct yaffs_dev *dev, struct yaffs_obj *obj) YBUG(); else { /* Link into the free list. */ - obj->siblings.next = (struct ylist_head *)(allocator->free_objs); + obj->siblings.next = (struct list_head *)(allocator->free_objs); allocator->free_objs = obj; allocator->n_free_objects++; } |