Skip to content

Commit afc5444

Browse files
gShahrKent Overstreet
authored andcommitted
bcachefs: Fix type for parameter in journal_advance_devs_to_next_bucket
Replace u64 with __le64 to match the expected parameter type. Ensure consistency both in function calls and within the function itself. Signed-off-by: Gabriel Shahrouzi <[email protected]> Signed-off-by: Kent Overstreet <[email protected]>
1 parent f5cd27e commit afc5444

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/bcachefs/journal_io.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1460,7 +1460,7 @@ int bch2_journal_read(struct bch_fs *c,
14601460

14611461
static void journal_advance_devs_to_next_bucket(struct journal *j,
14621462
struct dev_alloc_list *devs,
1463-
unsigned sectors, u64 seq)
1463+
unsigned sectors, __le64 seq)
14641464
{
14651465
struct bch_fs *c = container_of(j, struct bch_fs, journal);
14661466

0 commit comments

Comments
 (0)