X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=yaffs_vfs_multi.c;h=a24e61f0fae96ee66fc0dfdcc0a205eacd6e1b78;hb=70c6bf2ff57c8a2fb778accdd5b4227abf273674;hp=e4951534bacee986162d4dc681afc411683e8a31;hpb=e33554a67753729f6b74677473cf0ec3b8d35a7e;p=yaffs2.git diff --git a/yaffs_vfs_multi.c b/yaffs_vfs_multi.c index e495153..a24e61f 100644 --- a/yaffs_vfs_multi.c +++ b/yaffs_vfs_multi.c @@ -1805,7 +1805,7 @@ static int yaffs_unlink(struct inode *dir, struct dentry *dentry) yaffs_gross_lock(dev); - retVal = yaffs_Unlink(obj, dentry->d_name.name); + retVal = yaffs_unlinker(obj, dentry->d_name.name); if (retVal == YAFFS_OK) { dentry->d_inode->i_nlink--; @@ -2677,7 +2677,7 @@ static int yaffs_parse_options(yaffs_options *options, const char *options_str) return error; } -static struct super_block *yaffs_internal_read_super(int yaffsVersion, +static struct super_block *yaffs_internal_read_super(int yaffs_version, struct super_block *sb, void *data, int silent) { @@ -2741,7 +2741,7 @@ static struct super_block *yaffs_internal_read_super(int yaffsVersion, sb->s_blocksize_bits = PAGE_CACHE_SHIFT; T(YAFFS_TRACE_OS, - (TSTR("yaffs_read_super: Using yaffs%d\n"), yaffsVersion)); + (TSTR("yaffs_read_super: Using yaffs%d\n"), yaffs_version)); T(YAFFS_TRACE_OS, (TSTR("yaffs_read_super: block size %d\n"), (int)(sb->s_blocksize))); @@ -2789,22 +2789,22 @@ static struct super_block *yaffs_internal_read_super(int yaffsVersion, #ifdef CONFIG_YAFFS_AUTO_YAFFS2 - if (yaffsVersion == 1 && WRITE_SIZE(mtd) >= 2048) { + if (yaffs_version == 1 && WRITE_SIZE(mtd) >= 2048) { T(YAFFS_TRACE_ALWAYS, (TSTR("yaffs: auto selecting yaffs2\n"))); - yaffsVersion = 2; + yaffs_version = 2; } /* Added NCB 26/5/2006 for completeness */ - if (yaffsVersion == 2 && !options.inband_tags && WRITE_SIZE(mtd) == 512) { + if (yaffs_version == 2 && !options.inband_tags && WRITE_SIZE(mtd) == 512) { T(YAFFS_TRACE_ALWAYS, (TSTR("yaffs: auto selecting yaffs1\n"))); - yaffsVersion = 1; + yaffs_version = 1; } #endif - if (yaffsVersion == 2) { + if (yaffs_version == 2) { /* Check for version 2 style functions */ if (!mtd->erase || !mtd->block_isbad || @@ -2958,7 +2958,7 @@ static struct super_block *yaffs_internal_read_super(int yaffsVersion, param->emptyLostAndFound = options.empty_lost_and_found; /* ... and the functions. */ - if (yaffsVersion == 2) { + if (yaffs_version == 2) { param->writeChunkWithTagsToNAND = nandmtd2_WriteChunkWithTagsToNAND; param->readChunkWithTagsFromNAND =