search for: 31ef315

Displaying 2 results from an estimated 2 matches for "31ef315".

Did you mean: 31315
2013 Dec 26
0
[PATCH] core: Avoid initializing the cache more than once
...it wasn't already initialized + * by the fs driver */ + if (fs.fs_dev && fs.fs_dev->cache_data && !fs.fs_dev->cache_init) cache_init(fs.fs_dev, blk_shift); /* start out in the root directory */ diff --git a/core/include/fs.h b/core/include/fs.h index 31ef315..1062893 100644 --- a/core/include/fs.h +++ b/core/include/fs.h @@ -130,6 +130,7 @@ struct device { struct disk *disk; /* the cache stuff */ + uint8_t cache_init; /* cache initialized state */ char *cache_data; struct cache *cache_head; uint16_t cache_block_size; -- 1...
2013 Nov 19
2
[PATCH] Add filesystem UUID to SYSAPPEND for FAT
...; extern void sysappend_set_uuid(const uint8_t *uuid); +extern void sysappend_set_fs_uuid(void); void __cdecl core_intcall(uint8_t, const com32sys_t *, com32sys_t *); void __cdecl core_farcall(uint32_t, const com32sys_t *, com32sys_t *); diff --git a/core/include/fs.h b/core/include/fs.h index 31ef315..22fd6bf 100644 --- a/core/include/fs.h +++ b/core/include/fs.h @@ -73,6 +73,9 @@ struct fs_ops { int (*next_extent)(struct inode *, uint32_t); int (*copy_super)(void *buf); + + char * (*fs_uuid)(struct fs_info *); + }; /* @@ -205,6 +208,7 @@ void pm_open_file(com32sy...