浏览代码

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

+ 1 - 1
fs/ocfs2/symlink.c

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