summaryrefslogtreecommitdiff
path: root/libbcachefs/io_misc.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-06-02 17:24:53 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-06-02 17:24:53 -0400
commit838bbd755ea6a501892546b07b77d0605d2114f0 (patch)
tree434c96e7e06824c21532d482441554dc4228c7b8 /libbcachefs/io_misc.c
parent315508358d5880f4b4b801d932fa15781acdee90 (diff)
Update bcachefs sources to a41cc7750fb8 bcachefs: Add flags to subvolume_to_text()
Diffstat (limited to 'libbcachefs/io_misc.c')
-rw-r--r--libbcachefs/io_misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs/io_misc.c b/libbcachefs/io_misc.c
index cc07729a..bf72b1d2 100644
--- a/libbcachefs/io_misc.c
+++ b/libbcachefs/io_misc.c
@@ -91,7 +91,7 @@ int bch2_extent_fallocate(struct btree_trans *trans,
opts.data_replicas,
BCH_WATERMARK_normal, 0, &cl, &wp);
if (bch2_err_matches(ret, BCH_ERR_operation_blocked))
- ret = -BCH_ERR_transaction_restart_nested;
+ ret = bch_err_throw(c, transaction_restart_nested);
if (ret)
goto err;