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

Commit c7cf0c68 authored by Qi Yong's avatar Qi Yong Committed by David Woodhouse
Browse files

[JFFS2] Fix jffs2_follow_link() typo



typo fix: noticed this typo while reading the patch
"jffs2: fix symlink error handling"

Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent c7438d02
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -51,7 +51,7 @@ static void *jffs2_follow_link(struct dentry *dentry, struct nameidata *nd)
	 */
	 */


	if (!p) {
	if (!p) {
		printk(KERN_ERR "jffs2_follow_link(): can't find symlink taerget\n");
		printk(KERN_ERR "jffs2_follow_link(): can't find symlink target\n");
		p = ERR_PTR(-EIO);
		p = ERR_PTR(-EIO);
	}
	}
	D1(printk(KERN_DEBUG "jffs2_follow_link(): target path is '%s'\n", (char *) f->target));
	D1(printk(KERN_DEBUG "jffs2_follow_link(): target path is '%s'\n", (char *) f->target));