generic: ar8216: set chip type directly in ar8216_id_chip
[openwrt.git] / target / linux / generic / patches-2.6.36 / 512-yaffs_symlink_bug.patch
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
4 }
5
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);
10 - else
11 + /* else
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); */
15
16 deleteOp = (new_dir == obj->my_dev->del_dir);
17
This page took 0.040402 seconds and 5 git commands to generate.