summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/symlink.c
diff options
context:
space:
mode:
authorMark Fasheh <mark.fasheh@oracle.com>2007-01-04 02:25:40 +0100
committerMark Fasheh <mark.fasheh@oracle.com>2007-01-22 01:18:14 +0100
commit72bce5078d124a8b13fb167aea028b6e8d91873e (patch)
tree619f89df1e0f12db3acf0c60d244ea2464731bb0 /fs/ocfs2/symlink.c
parentLinux v2.6.20-rc5 (diff)
downloadlinux-72bce5078d124a8b13fb167aea028b6e8d91873e.tar.xz
linux-72bce5078d124a8b13fb167aea028b6e8d91873e.zip
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: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/symlink.c')
-rw-r--r--fs/ocfs2/symlink.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ocfs2/symlink.c b/fs/ocfs2/symlink.c
index 957d6878b03e..03b0191534d5 100644
--- a/fs/ocfs2/symlink.c
+++ b/fs/ocfs2/symlink.c
@@ -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);