From dcb63a21673a72cd6d7df32e3c3e9b692e49f586 Mon Sep 17 00:00:00 2001 From: nick Date: Thu, 23 May 2002 18:27:08 +0000 Subject: [PATCH] Updated some typos. Nick Bane 23/5/2002 --- yaffs_fs.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/yaffs_fs.c b/yaffs_fs.c index de11303..125d669 100644 --- a/yaffs_fs.c +++ b/yaffs_fs.c @@ -744,7 +744,8 @@ static struct super_block *yaffs_internal_read_super(int useRam, struct super_bl // Set up the memory size parameters.... - dev->nBlocks = YAFFS_RAM_EMULATION_SIZE / (YAFFS_CHUNKS_PER_BLOCK * YAFFS_BYTES_PER_CHUNK); +// NCB dev->nBlocks = YAFFS_RAM_EMULATION_SIZE / (YAFFS_CHUNKS_PER_BLOCK * YAFFS_BYTES_PER_CHUNK); + dev->nBlocks = mtd->size / (YAFFS_CHUNKS_PER_BLOCK * YAFFS_BYTES_PER_CHUNK); dev->startBlock = 1; // Don't use block 0 dev->endBlock = dev->nBlocks - 1; @@ -876,10 +877,12 @@ static void __exit exit_yaffs_fs(void) remove_proc_entry("yaffs",&proc_root); #ifdef YAFFS_RAM_ENABLED - unregister_filesystem(&yaffs_fs_type); +// NCB unregister_filesystem(&yaffs_fs_type); + unregister_filesystem(&yaffs_ram_fs_type); #endif #ifdef YAFFS_MTD_ENABLED - unregister_filesystem(&yaffs_ram_fs_type); +// NCB unregister_filesystem(&yaffs_ram_fs_type); + unregister_filesystem(&yaffs_fs_type); #endif } -- 2.30.2