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

Commit bde86fec authored by Adrian Hunter's avatar Adrian Hunter Committed by David Woodhouse
Browse files

[JFFS2] Correct symlink name too long error code

parent 742c5253
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 -EINVAL;
		return -ENAMETOOLONG;

	ri = jffs2_alloc_raw_inode();