1 --- a/fs/yaffs2/yaffs_guts.c
2 +++ b/fs/yaffs2/yaffs_guts.c
3 @@ -1709,11 +1709,11 @@ static int yaffs_change_obj_name(yaffs_o
6 /* TODO: Do we need this different handling for YAFFS2 and YAFFS1?? */
7 - if (obj->my_dev->param.is_yaffs2)
8 + // if (obj->my_dev->param.is_yaffs2)
9 unlinkOp = (new_dir == obj->my_dev->unlinked_dir);
12 unlinkOp = (new_dir == obj->my_dev->unlinked_dir
13 - && obj->variant_type == YAFFS_OBJECT_TYPE_FILE);
14 + && obj->variant_type == YAFFS_OBJECT_TYPE_FILE); */
16 deleteOp = (new_dir == obj->my_dev->del_dir);