summaryrefslogtreecommitdiff
path: root/libbcachefs/ec.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2021-12-30 21:23:06 -0500
committerKent Overstreet <kent.overstreet@gmail.com>2022-01-01 21:14:28 -0500
commit12fe5797ad3e58a365442751aed58c776c09e69f (patch)
treec8ca2fb0a7c57942cf1e50e6948a7f00117d3fc5 /libbcachefs/ec.c
parent617dc6dd68f9fc4a65334de6ad499be29fcdaba4 (diff)
Update bcachefs sources to 916d92b6b4 bcachefs: Add error messages for memory allocation failures
Diffstat (limited to 'libbcachefs/ec.c')
-rw-r--r--libbcachefs/ec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs/ec.c b/libbcachefs/ec.c
index 3cccd1fa..9a1751d4 100644
--- a/libbcachefs/ec.c
+++ b/libbcachefs/ec.c
@@ -677,7 +677,7 @@ static int ec_stripe_delete(struct bch_fs *c, size_t idx)
return bch2_btree_delete_range(c, BTREE_ID_stripes,
POS(0, idx),
POS(0, idx + 1),
- NULL);
+ 0, NULL);
}
static void ec_stripe_delete_work(struct work_struct *work)