]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
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 0c8a1294ec967f70e0906a9dfd37a5674da11113..c0f68aa6c17515c3353547ab1dd78ee169eb4b6a 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) {