mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
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>
This commit is contained in:
parent
5891d9dd2a
commit
7c6e3d1aae
@ -943,7 +943,6 @@ static int udf_symlink(struct inode *dir, struct dentry *dentry,
|
|||||||
pc->componentType = 1;
|
pc->componentType = 1;
|
||||||
pc->lengthComponentIdent = 0;
|
pc->lengthComponentIdent = 0;
|
||||||
pc->componentFileVersionNum = 0;
|
pc->componentFileVersionNum = 0;
|
||||||
pc += sizeof(struct pathComponent);
|
|
||||||
elen += sizeof(struct pathComponent);
|
elen += sizeof(struct pathComponent);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user