[Ocfs2-commits] smushran commits r2910 - branches/ocfs2-1.2/fs/ocfs2

svn-commits@oss.oracle.com svn-commits at oss.oracle.com
Wed Apr 26 16:19:42 CDT 2006


Author: smushran
Signed-off-by: mfasheh
Date: 2006-04-26 16:19:41 -0500 (Wed, 26 Apr 2006)
New Revision: 2910

Modified:
   branches/ocfs2-1.2/fs/ocfs2/symlink.c
Log:
silence enoent msgs during lookup of broken links
Signed-off-by: mfasheh

Modified: branches/ocfs2-1.2/fs/ocfs2/symlink.c
===================================================================
--- branches/ocfs2-1.2/fs/ocfs2/symlink.c	2006-04-25 19:04:51 UTC (rev 2909)
+++ branches/ocfs2-1.2/fs/ocfs2/symlink.c	2006-04-26 21:19:41 UTC (rev 2910)
@@ -368,7 +368,7 @@
 	ocfs2_link_expand(symlink_ops, new_link, old_link, inode);
 
 	status = vfs_follow_link(nd, new_link);
-	if (status < 0)
+	if (status < 0 && status != -ENOENT)
 		mlog_errno(status);
 
 	kfree(new_link);
@@ -406,7 +406,7 @@
 #else
 	status = vfs_follow_link(nd, link);
 #endif
-	if (status)
+	if (status < 0 && status != -ENOENT)
 		mlog_errno(status);
 bail:
 	if (page) {




More information about the Ocfs2-commits mailing list