Skip to content

Commit

Permalink
udf: Remove wrong assignment in udf_symlink
Browse files Browse the repository at this point in the history
Recomputation of the pointer was wrong (it should have been just increment).
Luckily, we never use the computed value. Remove it.

Signed-off-by: Jan Kara <jack@suse.cz>
  • Loading branch information
Jan Kara committed Sep 14, 2009
1 parent 5891d9d commit 7c6e3d1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/udf/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,6 @@ static int udf_symlink(struct inode *dir, struct dentry *dentry,
pc->componentType = 1;
pc->lengthComponentIdent = 0;
pc->componentFileVersionNum = 0;
pc += sizeof(struct pathComponent);
elen += sizeof(struct pathComponent);
}

Expand Down

0 comments on commit 7c6e3d1

Please sign in to comment.