Loading fs/udf/symlink.c +10 −4 Original line number Diff line number Diff line Loading @@ -41,10 +41,16 @@ static void udf_pc_to_char(struct super_block *sb, unsigned char *from, pc = (struct pathComponent *)(from + elen); switch (pc->componentType) { case 1: if (pc->lengthComponentIdent == 0) { /* * Symlink points to some place which should be agreed * upon between originator and receiver of the media. Ignore. */ if (pc->lengthComponentIdent > 0) break; /* Fall through */ case 2: p = to; *p++ = '/'; } break; case 3: memcpy(p, "../", 3); Loading Loading
fs/udf/symlink.c +10 −4 Original line number Diff line number Diff line Loading @@ -41,10 +41,16 @@ static void udf_pc_to_char(struct super_block *sb, unsigned char *from, pc = (struct pathComponent *)(from + elen); switch (pc->componentType) { case 1: if (pc->lengthComponentIdent == 0) { /* * Symlink points to some place which should be agreed * upon between originator and receiver of the media. Ignore. */ if (pc->lengthComponentIdent > 0) break; /* Fall through */ case 2: p = to; *p++ = '/'; } break; case 3: memcpy(p, "../", 3); Loading