search for: 3b21fc2

Displaying 2 results from an estimated 2 matches for "3b21fc2".

2013 Dec 26
0
[PATCH] core: Avoid initializing the cache more than once
...de. Signed-off-by: Raphael S. Carvalho <raphael.scarv at gmail.com> --- core/fs/cache.c | 2 ++ core/fs/diskio.c | 1 + core/fs/fs.c | 5 +++-- core/include/fs.h | 1 + 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/core/fs/cache.c b/core/fs/cache.c index 3b21fc2..798c622 100644 --- a/core/fs/cache.c +++ b/core/fs/cache.c @@ -55,6 +55,8 @@ void cache_init(struct device *dev, int block_size_shift) data += dev->cache_block_size; prev = cur++; } + + dev->cache_init = 1; /* Set cache as initialized */ } /* diff --git a/core/f...
2013 Oct 18
1
[RFC/PATCH 2/3] core: MultiFS infrastructure added.
...++++++++++++++++++++++++++++++++++ core/multifs.c | 76 ++++++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 205 insertions(+), 31 deletions(-) create mode 100644 core/include/multifs.h create mode 100644 core/multifs.c diff --git a/core/fs/cache.c b/core/fs/cache.c index 3b21fc2..b8ed8c2 100644 --- a/core/fs/cache.c +++ b/core/fs/cache.c @@ -16,7 +16,7 @@ * implementation since the block(cluster) size in FAT is a bit big. * */ -void cache_init(struct device *dev, int block_size_shift) +__export void cache_init(struct device *dev, int block_size_shift) { struct...