diff options
Diffstat (limited to 'libbcachefs/super.c')
-rw-r--r-- | libbcachefs/super.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libbcachefs/super.c b/libbcachefs/super.c index 03b12c2d..4b873694 100644 --- a/libbcachefs/super.c +++ b/libbcachefs/super.c @@ -2437,10 +2437,10 @@ static bool bch2_dev_will_resize_on_mount(struct bch_dev *ca) static bool bch2_fs_will_resize_on_mount(struct bch_fs *c) { + bool ret = false; for_each_online_member(c, ca, BCH_DEV_READ_REF_fs_resize_on_mount) - if (bch2_dev_will_resize_on_mount(ca)) - return true; - return false; + ret |= bch2_dev_will_resize_on_mount(ca); + return ret; } int bch2_fs_resize_on_mount(struct bch_fs *c) |