diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2020-02-06 20:15:15 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:35 -0400 |
commit | 1f49dafcd3191de1db9b6105983696b5bc7aedad (patch) | |
tree | 50c3a618e3ae2dffbef272a5cc5b72812851d060 /fs/bcachefs/extents.h | |
parent | c4a94ae3da7c666d5d5230897a3f6d1e9d8d8b55 (diff) | |
download | lwn-1f49dafcd3191de1db9b6105983696b5bc7aedad.tar.gz lwn-1f49dafcd3191de1db9b6105983696b5bc7aedad.zip |
bcachefs: Fix bch2_ptr_swab for indirect extents
bch2_ptr_swab was never updated when the code for generic keys with
pointers was added - it assumed the entire val was only used for
pointers.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/extents.h')
-rw-r--r-- | fs/bcachefs/extents.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/extents.h b/fs/bcachefs/extents.h index 0d8554172263..6e8119a8ad30 100644 --- a/fs/bcachefs/extents.h +++ b/fs/bcachefs/extents.h @@ -532,7 +532,7 @@ void bch2_bkey_ptrs_to_text(struct printbuf *, struct bch_fs *, struct bkey_s_c); const char *bch2_bkey_ptrs_invalid(const struct bch_fs *, struct bkey_s_c); -void bch2_ptr_swab(const struct bkey_format *, struct bkey_packed *); +void bch2_ptr_swab(struct bkey_s); /* Generic extent code: */ |