aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2009-07-16 11:36:54 -0400
committerJan Kara <jack@suse.cz>2009-09-14 13:13:00 -0400
commit7c6e3d1aaeb3b25b49510d193000c27037004acb (patch)
tree1d20b31e4e74708812b6bd5821775bbac2eae539
parent5891d9dd2a47d38c205115211841a3d82304628f (diff)
udf: Remove wrong assignment in udf_symlink
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>
-rw-r--r--fs/udf/namei.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/udf/namei.c b/fs/udf/namei.c
index 6a29fa34c478..21dad8c608f9 100644
--- a/fs/udf/namei.c
+++ b/fs/udf/namei.c
@@ -943,7 +943,6 @@ static int udf_symlink(struct inode *dir, struct dentry *dentry,
943 pc->componentType = 1; 943 pc->componentType = 1;
944 pc->lengthComponentIdent = 0; 944 pc->lengthComponentIdent = 0;
945 pc->componentFileVersionNum = 0; 945 pc->componentFileVersionNum = 0;
946 pc += sizeof(struct pathComponent);
947 elen += sizeof(struct pathComponent); 946 elen += sizeof(struct pathComponent);
948 } 947 }
949 948