From: Mark Fasheh Date: Thu, 4 Jan 2007 01:25:40 +0000 (-0800) Subject: ocfs2: Don't print errors when following symlinks X-Git-Tag: v2.6.20-rc6~51^2~3 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72bce5078d124a8b13fb167aea028b6e8d91873e;p=linux-2.6 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 --- diff --git a/fs/ocfs2/symlink.c b/fs/ocfs2/symlink.c index 957d6878b0..03b0191534 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);