mirror of
https://github.com/torvalds/linux.git
synced 2026-05-21 05:18:45 +02:00
bcachefs: Fix an endianness conversion
cpu_to_le32(), not le32_to_cpu() - fixes a sparse complaint. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
468035ca4b
commit
0a11adfb7a
|
|
@ -959,7 +959,7 @@ static int bch2_snapshot_node_delete(struct btree_trans *trans, u32 id)
|
|||
parent_id, id))
|
||||
goto err;
|
||||
|
||||
parent->v.children[i] = le32_to_cpu(child_id);
|
||||
parent->v.children[i] = cpu_to_le32(child_id);
|
||||
|
||||
normalize_snapshot_child_pointers(&parent->v);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user