OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.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
|
history
diff --git
a/fs/udf/namei.c
b/fs/udf/namei.c
index
6a29fa3
..
21dad8c
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);
}