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

Commit 72bce507 authored by Mark Fasheh's avatar Mark Fasheh
Browse files

ocfs2: Don't print errors when following symlinks



We shouldn't print errors returned from vfs_follow_link(). This was causing
spurious errors to show up in the logs.

Signed-off-by: default avatarMark Fasheh <mark.fasheh@oracle.com>
parent a8b34852
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -158,8 +158,7 @@ static void *ocfs2_follow_link(struct dentry *dentry,
	}

	status = vfs_follow_link(nd, link);
	if (status && status != -ENOENT)
		mlog_errno(status);

bail:
	if (page) {
		kunmap(page);