ocfs2: silence ENOENT during lookup of broken links
authorSunil Mushran <sunil.mushran@oracle.com>
Thu, 27 Apr 2006 23:44:13 +0000 (16:44 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Thu, 29 Jun 2006 22:59:52 +0000 (15:59 -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) {