Commit 72bce507 authored by Mark Fasheh's avatar Mark Fasheh

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: default avatarMark Fasheh <mark.fasheh@oracle.com>
parent a8b34852
...@@ -158,8 +158,7 @@ static void *ocfs2_follow_link(struct dentry *dentry, ...@@ -158,8 +158,7 @@ static void *ocfs2_follow_link(struct dentry *dentry,
} }
status = vfs_follow_link(nd, link); status = vfs_follow_link(nd, link);
if (status && status != -ENOENT)
mlog_errno(status);
bail: bail:
if (page) { if (page) {
kunmap(page); kunmap(page);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment