projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs Forgot to remove some files from last commit.
[yaffs2.git]
/
patches
/
yaffs_linux_allocator.c
diff --git
a/patches/yaffs_linux_allocator.c
b/patches/yaffs_linux_allocator.c
index 82ae3dfdbe355cbe1253a4f70c3f9aabb1c7efb5..b538776e497413e8df734692d66ffdc5efcaa1d7 100644
(file)
--- a/
patches/yaffs_linux_allocator.c
+++ b/
patches/yaffs_linux_allocator.c
@@
-165,7
+165,7
@@
void yaffs_init_raw_tnodes_and_objs(struct yaffs_dev *dev)
}
}
-
yaffs_tnode_t
*yaffs_alloc_raw_tnode(struct yaffs_dev *dev)
+
struct yaffs_tnode
*yaffs_alloc_raw_tnode(struct yaffs_dev *dev)
{
yaffs_Allocator *allocator = dev->allocator;
if(!allocator || !allocator->tnode_cache){
{
yaffs_Allocator *allocator = dev->allocator;
if(!allocator || !allocator->tnode_cache){
@@
-175,7
+175,7
@@
yaffs_tnode_t *yaffs_alloc_raw_tnode(struct yaffs_dev *dev)
return kmem_cache_alloc(allocator->tnode_cache, GFP_NOFS);
}
return kmem_cache_alloc(allocator->tnode_cache, GFP_NOFS);
}
-void yaffs_free_raw_tnode(struct yaffs_dev *dev,
yaffs_tnode_t
*tn)
+void yaffs_free_raw_tnode(struct yaffs_dev *dev,
struct yaffs_tnode
*tn)
{
yaffs_Allocator *allocator = dev->allocator;
kmem_cache_free(allocator->tnode_cache,tn);
{
yaffs_Allocator *allocator = dev->allocator;
kmem_cache_free(allocator->tnode_cache,tn);