From cf904c8d964fa477cdb83445a03d05e9eda5d65c Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Sat, 16 Dec 2023 22:43:41 -0500 Subject: bcachefs: bch_err_(fn|msg) check if should print Signed-off-by: Kent Overstreet --- fs/bcachefs/quota.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'fs/bcachefs/quota.c') diff --git a/fs/bcachefs/quota.c b/fs/bcachefs/quota.c index 79724a7aaab0..a33f370e1fc7 100644 --- a/fs/bcachefs/quota.c +++ b/fs/bcachefs/quota.c @@ -626,8 +626,7 @@ int bch2_fs_quota_read(struct bch_fs *c) bch2_trans_put(trans); - if (ret) - bch_err_fn(c, ret); + bch_err_fn(c, ret); return ret; } -- cgit v1.2.3