Explorar o código

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>
Mark Fasheh %!s(int64=17) %!d(string=hai) anos
pai
achega
ef9f86ceb6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      fs/ocfs2/cluster/masklog.h

+ 1 - 1
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)