summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/cluster
diff options
context:
space:
mode:
authorMark Fasheh <mfasheh@ca-build8.us.oracle.com>2007-11-19 18:31:17 -0800
committerMark Fasheh <mark.fasheh@oracle.com>2007-11-27 16:47:01 -0800
commitef9f86ceb63f2803c9aada249986b84d2f99c635 (patch)
tree2a9577479ca46dedeeb908b84415e872a1e360b4 /fs/ocfs2/cluster
parent2759236f8415ccc0f275b57bd8142c2c81fd2177 (diff)
downloadop-kernel-dev-ef9f86ceb63f2803c9aada249986b84d2f99c635.zip
op-kernel-dev-ef9f86ceb63f2803c9aada249986b84d2f99c635.tar.gz
ocfs2: Filter -ENOSPC in mlog_errno()
It's almost never worth printing in that situation and we keep forgetting to manually filter it out. Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/cluster')
-rw-r--r--fs/ocfs2/cluster/masklog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/cluster/masklog.h b/fs/ocfs2/cluster/masklog.h
index cd04606..597e064 100644
--- a/fs/ocfs2/cluster/masklog.h
+++ b/fs/ocfs2/cluster/masklog.h
@@ -212,7 +212,7 @@ extern struct mlog_bits mlog_and_bits, mlog_not_bits;
#define mlog_errno(st) do { \
int _st = (st); \
if (_st != -ERESTARTSYS && _st != -EINTR && \
- _st != AOP_TRUNCATED_PAGE) \
+ _st != AOP_TRUNCATED_PAGE && _st != -ENOSPC) \
mlog(ML_ERROR, "status = %lld\n", (long long)_st); \
} while (0)
OpenPOWER on IntegriCloud