Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7c6e3d1a authored by Jan Kara's avatar Jan Kara
Browse files

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: default avatarJan Kara <jack@suse.cz>
parent 5891d9dd
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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);
	}