From: Sunil Mushran <sunil.mushran@oracle.com>
Date: Thu, 27 Apr 2006 23:44:13 +0000 (-0700)
Subject: ocfs2: silence ENOENT during lookup of broken links
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d426721cf10824391fd38bd42f38357ace2b1c08;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

ocfs2: silence ENOENT during lookup of broken links

Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
---

diff --git a/fs/ocfs2/symlink.c b/fs/ocfs2/symlink.c
index 0c8a1294ec96..c0f68aa6c175 100644
--- a/fs/ocfs2/symlink.c
+++ b/fs/ocfs2/symlink.c
@@ -154,7 +154,7 @@ static void *ocfs2_follow_link(struct dentry *dentry,
 	}
 
 	status = vfs_follow_link(nd, link);
-	if (status)
+	if (status && status != -ENOENT)
 		mlog_errno(status);
 bail:
 	if (page) {