commit | bde86fec7c822b6009d3cfefc20b76b8d34716af | [log] [tgz] |
---|---|---|
author | Adrian Hunter <ext-adrian.hunter@nokia.com> | Thu Aug 14 11:57:45 2008 +0300 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Thu Aug 14 09:58:29 2008 +0100 |
tree | e8219cc3bef601c3fb6331c8cbcd56f037b3f24b | |
parent | 742c52533b05d8ae83c794bd6811100675b85ce5 [diff] [blame] |
[JFFS2] Correct symlink name too long error code Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
diff --git a/fs/jffs2/dir.c b/fs/jffs2/dir.c index cd219ef..b1aaae8 100644 --- a/fs/jffs2/dir.c +++ b/fs/jffs2/dir.c
@@ -311,7 +311,7 @@ /* FIXME: If you care. We'd need to use frags for the target if it grows much more than this */ if (targetlen > 254) - return -EINVAL; + return -ENAMETOOLONG; ri = jffs2_alloc_raw_inode();