Skip to content

Commit

Permalink
ocfs2: Don't print errors when following symlinks
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Fasheh committed Jan 22, 2007
1 parent a8b3485 commit 72bce50
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fs/ocfs2/symlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 72bce50

Please sign in to comment.