diff options
| author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-05-08 10:17:12 -0400 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-05-08 14:56:09 -0400 |
| commit | 5ad1f33c29c311787943a92c56903da74f19fd5d (patch) | |
| tree | effd386de61979abcbf4436a961b25ce34486f8d | |
| parent | bcachefs: Add missing sched_annotate_sleep() in bch2_journal_flush_seq_async() (diff) | |
| download | linux-5ad1f33c29c311787943a92c56903da74f19fd5d.tar.gz linux-5ad1f33c29c311787943a92c56903da74f19fd5d.zip | |
bcachefs: Fix sb_clean_validate endianness conversion
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
| -rw-r--r-- | fs/bcachefs/sb-clean.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/sb-clean.c b/fs/bcachefs/sb-clean.c index 194e55b11137..d27804d4987a 100644 --- a/fs/bcachefs/sb-clean.c +++ b/fs/bcachefs/sb-clean.c @@ -283,7 +283,7 @@ static int bch2_sb_clean_validate(struct bch_sb *sb, entry = vstruct_next(entry)) { if ((void *) vstruct_next(entry) > vstruct_end(&clean->field)) { prt_str(err, "entry type "); - bch2_prt_jset_entry_type(err, le16_to_cpu(entry->type)); + bch2_prt_jset_entry_type(err, entry->type); prt_str(err, " overruns end of section"); return -BCH_ERR_invalid_sb_clean; } |
