projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
742c525
)
[JFFS2] Correct symlink name too long error code
author
Adrian Hunter
<ext-adrian.hunter@nokia.com>
Thu, 14 Aug 2008 08:57:45 +0000
(11:57 +0300)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Thu, 14 Aug 2008 08:58:29 +0000
(09:58 +0100)
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
fs/jffs2/dir.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/jffs2/dir.c
b/fs/jffs2/dir.c
index cd219ef552543cdc98d0a392f95cd6dc1c3ec4fd..b1aaae823a5227de63ebb0175e904f435ab27772 100644
(file)
--- a/
fs/jffs2/dir.c
+++ b/
fs/jffs2/dir.c
@@
-311,7
+311,7
@@
static int jffs2_symlink (struct inode *dir_i, struct dentry *dentry, const char
/* FIXME: If you care. We'd need to use frags for the target
if it grows much more than this */
if (targetlen > 254)
- return -E
INVAL
;
+ return -E
NAMETOOLONG
;
ri = jffs2_alloc_raw_inode();