diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-17 04:43:41 +0100 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-01 17:47:41 +0100 |
commit | cf904c8d964fa477cdb83445a03d05e9eda5d65c (patch) | |
tree | 84e344c4722547763920f511a318d07f95df57de /fs/bcachefs/lru.c | |
parent | bcachefs: fix userspace build errors (diff) | |
download | linux-cf904c8d964fa477cdb83445a03d05e9eda5d65c.tar.xz linux-cf904c8d964fa477cdb83445a03d05e9eda5d65c.zip |
bcachefs: bch_err_(fn|msg) check if should print
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/lru.c')
-rw-r--r-- | fs/bcachefs/lru.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/bcachefs/lru.c b/fs/bcachefs/lru.c index e6d081c0592c..4de1bc242660 100644 --- a/fs/bcachefs/lru.c +++ b/fs/bcachefs/lru.c @@ -157,8 +157,7 @@ int bch2_check_lrus(struct bch_fs *c) BTREE_ID_lru, POS_MIN, BTREE_ITER_PREFETCH, k, NULL, NULL, BCH_TRANS_COMMIT_no_enospc|BCH_TRANS_COMMIT_lazy_rw, bch2_check_lru_key(trans, &iter, k, &last_flushed_pos))); - if (ret) - bch_err_fn(c, ret); + bch_err_fn(c, ret); return ret; } |