From: Mark Fasheh Date: Tue, 20 Nov 2007 02:31:17 +0000 (-0800) Subject: ocfs2: Filter -ENOSPC in mlog_errno() X-Git-Tag: v2.6.24-rc4~83^2~5 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ef9f86ceb63f2803c9aada249986b84d2f99c635;p=linux-2.6-omap-h63xx.git 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 --- diff --git a/fs/ocfs2/cluster/masklog.h b/fs/ocfs2/cluster/masklog.h index cd046060114..597e064bb94 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)