diff options
Diffstat (limited to 'libbcachefs/ec.c')
-rw-r--r-- | libbcachefs/ec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs/ec.c b/libbcachefs/ec.c index 53f0d820..c234c8d5 100644 --- a/libbcachefs/ec.c +++ b/libbcachefs/ec.c @@ -942,7 +942,7 @@ static void ec_stripe_create(struct ec_stripe_new *s) closure_sync(&s->iodone); if (s->err) { - if (s->err != -EROFS) + if (!bch2_err_matches(s->err, EROFS)) bch_err(c, "error creating stripe: error writing data buckets"); goto err; } |