ocfs2: silence ENOENT during lookup of broken links
Sunil Mushran [Thu, 27 Apr 2006 23:44:13 +0000 (16:44 -0700)]
Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>

fs/ocfs2/symlink.c

index 0c8a129..c0f68aa 100644 (file)
@@ -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) {