ソースを参照

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);
-	if (status)
+	if (status && status != -ENOENT)
 		mlog_errno(status);
 bail:
 	if (page) {