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]>
---
 fs/bcachefs/journal_io.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/bcachefs/journal_io.c b/fs/bcachefs/journal_io.c
index 2debc213e47c..ff2fd20aa8b0 100644
--- a/fs/bcachefs/journal_io.c
+++ b/fs/bcachefs/journal_io.c
@@ -1460,7 +1460,7 @@ int bch2_journal_read(struct bch_fs *c,
 
 static void journal_advance_devs_to_next_bucket(struct journal *j,
                                                struct dev_alloc_list *devs,
-                                               unsigned sectors, u64 seq)
+                                               unsigned sectors, __le64 seq)
 {
        struct bch_fs *c = container_of(j, struct bch_fs, journal);
 
-- 
2.43.0


Reply via email to