浏览代码

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>
Mark Fasheh 18 年之前
父节点
当前提交
72bce5078d
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      fs/ocfs2/symlink.c

+ 1 - 2
fs/ocfs2/symlink.c

@@ -158,8 +158,7 @@ static void *ocfs2_follow_link(struct dentry *dentry,
 	}
 	}
 
 
 	status = vfs_follow_link(nd, link);
 	status = vfs_follow_link(nd, link);
-	if (status && status != -ENOENT)
-		mlog_errno(status);
+
 bail:
 bail:
 	if (page) {
 	if (page) {
 		kunmap(page);
 		kunmap(page);