ocfs2: Don't print errors when following symlinks

We shouldn't print errors returned from vfs_follow_link(). This was causing
spurious errors to show up in the logs.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
This commit is contained in:
Mark Fasheh 2007-01-03 17:25:40 -08:00
parent a8b3485287
commit 72bce5078d
1 changed files with 1 additions and 2 deletions

View File

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