diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-05-04 14:04:31 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2018-05-04 14:05:32 -0400 |
commit | 018de5aa899937a9dc3bc8cb9819cb218a59abf3 (patch) | |
tree | 554b99e5dafe04f5bf9201a3c54bd1b0f39f77f3 /libbcachefs/error.h | |
parent | c598d91dcb0c7e95abdacb2711898ae14ab52ca1 (diff) |
Update bcachefs sources to ed4aea2ad4 bcachefs: fix gcc warning
Diffstat (limited to 'libbcachefs/error.h')
-rw-r--r-- | libbcachefs/error.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libbcachefs/error.h b/libbcachefs/error.h index ac3e96d2..ababaee0 100644 --- a/libbcachefs/error.h +++ b/libbcachefs/error.h @@ -45,13 +45,13 @@ do { \ * BCH_ON_ERROR_CONTINUE mode */ -void bch2_inconsistent_error(struct bch_fs *); +bool bch2_inconsistent_error(struct bch_fs *); #define bch2_fs_inconsistent(c, ...) \ -do { \ +({ \ bch_err(c, __VA_ARGS__); \ bch2_inconsistent_error(c); \ -} while (0) +}) #define bch2_fs_inconsistent_on(cond, c, ...) \ ({ \ |