X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_yaffs2.c;h=6be3d6a0c6208f082e0fd1a4a22845c97ba118c2;hp=47fa8eba2d5c049c86700a930a6b50323b034416;hb=HEAD;hpb=b4d5215f18486403d16f2e776000e43eba052f40 diff --git a/yaffs_yaffs2.c b/yaffs_yaffs2.c index 47fa8eb..6be3d6a 100644 --- a/yaffs_yaffs2.c +++ b/yaffs_yaffs2.c @@ -1,8 +1,7 @@ /* * YAFFS: Yet Another Flash File System. A NAND-flash specific file system. * - * Copyright (C) 2002-2011 Aleph One Ltd. - * for Toby Churchill Ltd and Brightstar Engineering + * Copyright (C) 2002-2018 Aleph One Ltd. * * Created by Charles Manning * @@ -708,6 +707,8 @@ static int yaffs2_wr_checkpt_objs(struct yaffs_dev *dev) * dumping them to the checkpointing stream. */ + (void) cp_variant_type; + for (i = 0; ok && i < YAFFS_NOBJECT_BUCKETS; i++) { list_for_each(lh, &dev->obj_bucket[i].list) { obj = list_entry(lh, struct yaffs_obj, hash_link);