Commit 4a22a733 authored by Gabriel Shahrouzi's avatar Gabriel Shahrouzi Committed by Kent Overstreet
Browse files

bcachefs: Use cpu_to_le16 for dirent lengths



Prevent incorrect byte ordering for big-endian systems.

Signed-off-by: default avatarGabriel Shahrouzi <gshahrouzi@gmail.com>
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent afc5444e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment