summaryrefslogtreecommitdiff
path: root/fs/ocfs2/symlink.c
diff options
context:
space:
mode:
authorSunil Mushran <sunil.mushran@oracle.com>2006-04-27 16:44:13 -0700
committerMark Fasheh <mark.fasheh@oracle.com>2006-06-29 15:59:52 -0700
commitd426721cf10824391fd38bd42f38357ace2b1c08 (patch)
treed00c565518ba8ee6116bde504449c687b92c6e26 /fs/ocfs2/symlink.c
parent781ee3e2b1ea41d56ed86ae1c85fc40b7f330205 (diff)
downloadlinux-3.10-d426721cf10824391fd38bd42f38357ace2b1c08.tar.gz
linux-3.10-d426721cf10824391fd38bd42f38357ace2b1c08.tar.bz2
linux-3.10-d426721cf10824391fd38bd42f38357ace2b1c08.zip
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>
Diffstat (limited to 'fs/ocfs2/symlink.c')
-rw-r--r--fs/ocfs2/symlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/symlink.c b/fs/ocfs2/symlink.c
index 0c8a1294ec9..c0f68aa6c17 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) {