[Ocfs2-commits] mfasheh commits r2143 - trunk/fs/ocfs2

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Wed Apr 13 19:53:07 CDT 2005


Author: mfasheh
Signed-off-by: manish
Date: 2005-04-13 19:53:05 -0500 (Wed, 13 Apr 2005)
New Revision: 2143

Modified:
   trunk/fs/ocfs2/namei.c
Log:
* don't print an error on -EINTR or -ENOSPC

Signed-off-by: manish



Modified: trunk/fs/ocfs2/namei.c
===================================================================
--- trunk/fs/ocfs2/namei.c	2005-04-13 23:32:49 UTC (rev 2142)
+++ trunk/fs/ocfs2/namei.c	2005-04-14 00:53:05 UTC (rev 2143)
@@ -386,7 +386,8 @@
 	/* reserve an inode spot */
 	status = ocfs_reserve_new_inode(osb, handle, &inode_ac);
 	if (status < 0) {
-		LOG_ERROR_STATUS (status);
+		if (status != -ENOSPC)
+			LOG_ERROR_STATUS (status);
 		goto leave;
 	}
 
@@ -840,7 +841,8 @@
 	status = ocfs2_request_unlink_vote(inode);
 	if (status < 0) {
 		/* This vote should succeed under all normal circumstances. */
-		LOG_ERROR_STATUS(status);
+		if (status != -EINTR)
+			LOG_ERROR_STATUS(status);
 		goto leave;
 	}
 



More information about the Ocfs2-commits mailing list