X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_vfs_multi.c;h=9a614189daeb4fe7b549b06e15db8dfeb4a75b64;hp=acf43480b69bd13ad931be86d2e9364184f865f3;hb=6d0911ccf93af1b88bfaef9aa5e02d8dfc33f56a;hpb=6648cbf52d6695755941ff8607fd7a0cda542e05 diff --git a/yaffs_vfs_multi.c b/yaffs_vfs_multi.c index acf4348..9a61418 100644 --- a/yaffs_vfs_multi.c +++ b/yaffs_vfs_multi.c @@ -2534,6 +2534,7 @@ struct yaffs_options { int lazy_loading_overridden; int empty_lost_and_found; int empty_lost_and_found_overridden; + int disable_summary; }; #define MAX_OPT_LEN 30 @@ -2575,6 +2576,8 @@ static int yaffs_parse_options(struct yaffs_options *options, } else if (!strcmp(cur_opt, "lazy-loading-on")) { options->lazy_loading_enabled = 1; options->lazy_loading_overridden = 1; + } else if (!strcmp(cur_opt, "disable-summary")) { + options->disable_summary = 1; } else if (!strcmp(cur_opt, "empty-lost-and-found-off")) { options->empty_lost_and_found = 0; options->empty_lost_and_found_overridden = 1; @@ -2873,6 +2876,7 @@ static struct super_block *yaffs_internal_read_super(int yaffs_version, #ifdef CONFIG_YAFFS__ALWAYS_CHECK_CHUNK_ERASED param->always_check_erased = 1; #endif + param->disable_summary = options.disable_summary; if (options.empty_lost_and_found_overridden) param->empty_lost_n_found = options.empty_lost_and_found; @@ -3168,6 +3172,8 @@ static char *yaffs_dump_dev_part1(char *buf, struct yaffs_dev *dev) dev->n_unlinked_files); buf += sprintf(buf, "refresh_count........ %u\n", dev->refresh_count); buf += sprintf(buf, "n_bg_deletions....... %u\n", dev->n_bg_deletions); + buf += sprintf(buf, "tags_used............ %u\n", dev->tags_used); + buf += sprintf(buf, "summary_used......... %u\n", dev->summary_used); return buf; }