diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-08-01 22:38:18 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-08-02 12:16:36 -0400 |
commit | 4174fe0baec06b880aad2d5997f79764fbd8cef5 (patch) | |
tree | ff4a9d3980ff01491d5fbe3b2d974ed88ad2d364 /libbcachefs/snapshot.c | |
parent | 6eda7d18318ad48e4e49515ed55f20230b670ed9 (diff) |
Update bcachefs sources to dca6a42b7467 bcachefs: bch2_member_to_text()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'libbcachefs/snapshot.c')
-rw-r--r-- | libbcachefs/snapshot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs/snapshot.c b/libbcachefs/snapshot.c index 5a1f8174..84f987d3 100644 --- a/libbcachefs/snapshot.c +++ b/libbcachefs/snapshot.c @@ -1146,7 +1146,7 @@ static int bch2_snapshot_node_delete(struct btree_trans *trans, u32 id) if (bch2_fs_inconsistent_on(i == 2, c, "snapshot %u missing child pointer to %u", parent_id, id)) - return ret; + return bch_err_throw(c, ENOENT_snapshot); parent->v.children[i] = cpu_to_le32(child_id); |