[brcm63xx] add support for BT Voyager 2500 (#9070)
[openwrt.git] / target / linux / generic / patches-2.6.37 / 503-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.0486 seconds and 5 git commands to generate.