Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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)