Commit ef9f86ce authored by Mark Fasheh's avatar Mark Fasheh Committed by Mark Fasheh

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: default avatarMark Fasheh <mark.fasheh@oracle.com>
parent 2759236f
...@@ -212,7 +212,7 @@ extern struct mlog_bits mlog_and_bits, mlog_not_bits; ...@@ -212,7 +212,7 @@ extern struct mlog_bits mlog_and_bits, mlog_not_bits;
#define mlog_errno(st) do { \ #define mlog_errno(st) do { \
int _st = (st); \ int _st = (st); \
if (_st != -ERESTARTSYS && _st != -EINTR && \ if (_st != -ERESTARTSYS && _st != -EINTR && \
_st != AOP_TRUNCATED_PAGE) \ _st != AOP_TRUNCATED_PAGE && _st != -ENOSPC) \
mlog(ML_ERROR, "status = %lld\n", (long long)_st); \ mlog(ML_ERROR, "status = %lld\n", (long long)_st); \
} while (0) } while (0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment