projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5891d9d
)
udf: Remove wrong assignment in udf_symlink
author
Jan Kara
<jack@suse.cz>
Thu, 16 Jul 2009 15:36:54 +0000
(17:36 +0200)
committer
Jan Kara
<jack@suse.cz>
Mon, 14 Sep 2009 17:13:00 +0000
(19:13 +0200)
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>
fs/udf/namei.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/udf/namei.c
b/fs/udf/namei.c
index 6a29fa34c478490cc45732af39072e78fee180e0..21dad8c608f955bfac8933e7fea665f0e67a8491 100644
(file)
--- a/
fs/udf/namei.c
+++ b/
fs/udf/namei.c
@@
-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);
}