aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Becker <[email protected]>2013-11-12 15:06:57 -0800
committerLinus Torvalds <[email protected]>2013-11-13 12:09:01 +0900
commit910bffe0861c956096c31ad7e887cc23169955ed (patch)
treef0f0dbc4e6a230b83794248b70a9bbdf1ad57519
parent58796207cf09552706b0c3e0669f2ce52ea6cee1 (diff)
ocfs2: don't spam on -EDQUOT
-EDQUOT is a user-visible error, not a logic problem. Teach mlog_errno() to ignore it like it ignores -ENOSPC, etc. Signed-off-by: Joel Becker <[email protected]> Reviewed-by: Jan Kara <[email protected]> Reported-by: Marek Królikowski <[email protected]> Cc: Joel Becker <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r--fs/ocfs2/cluster/masklog.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ocfs2/cluster/masklog.h b/fs/ocfs2/cluster/masklog.h
index baa2b9ef7eef..2260fb9e6508 100644
--- a/fs/ocfs2/cluster/masklog.h
+++ b/fs/ocfs2/cluster/masklog.h
@@ -199,7 +199,8 @@ 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 != -ENOSPC) \
+ _st != AOP_TRUNCATED_PAGE && _st != -ENOSPC && \
+ _st != -EDQUOT) \
mlog(ML_ERROR, "status = %lld\n", (long long)_st); \
} while (0)