projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8b3485
)
ocfs2: Don't print errors when following symlinks
author
Mark Fasheh
<mark.fasheh@oracle.com>
Thu, 4 Jan 2007 01:25:40 +0000
(17:25 -0800)
committer
Mark Fasheh
<mark.fasheh@oracle.com>
Mon, 22 Jan 2007 00:18:14 +0000
(16:18 -0800)
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>
fs/ocfs2/symlink.c
patch
|
blob
|
history
diff --git
a/fs/ocfs2/symlink.c
b/fs/ocfs2/symlink.c
index 957d6878b03ef4bfa307d91d7f55f6fd0e0c885b..03b0191534d56b1a7ce4e51bb1c9a16c0d83042b 100644
(file)
--- a/
fs/ocfs2/symlink.c
+++ b/
fs/ocfs2/symlink.c
@@
-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);