[Ocfs2-commits] mfasheh commits r1923 - trunk/fs/ocfs2
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Mon Feb 28 18:23:13 CST 2005
Author: mfasheh
Signed-off-by: jlbec
Date: 2005-02-28 18:23:12 -0600 (Mon, 28 Feb 2005)
New Revision: 1923
Modified:
trunk/fs/ocfs2/suballoc.c
Log:
* don't spam /var/log/messages on hitting ENOSPC
Signed-off-by: jlbec
Modified: trunk/fs/ocfs2/suballoc.c
===================================================================
--- trunk/fs/ocfs2/suballoc.c 2005-03-01 00:20:50 UTC (rev 1922)
+++ trunk/fs/ocfs2/suballoc.c 2005-03-01 00:23:12 UTC (rev 1923)
@@ -321,7 +321,8 @@
&bit_off,
&num_bits);
if (status < 0) {
- LOG_ERROR_STATUS(status);
+ if (status != -ENOSPC)
+ LOG_ERROR_STATUS(status);
goto bail;
}
@@ -456,7 +457,8 @@
status = ocfs_block_group_alloc(osb, alloc_inode, bh);
if (status < 0) {
- LOG_ERROR_STATUS(status);
+ if (status != -ENOSPC)
+ LOG_ERROR_STATUS(status);
goto bail;
}
/* You should never ask for this much metadata */
@@ -558,7 +560,8 @@
status = ocfs_reserve_suballoc_bits(osb, *ac);
if (status < 0) {
- LOG_ERROR_STATUS(status);
+ if (status != -ENOSPC)
+ LOG_ERROR_STATUS(status);
goto bail;
}
More information about the Ocfs2-commits
mailing list