]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
bcachefs: Fix type for parameter in journal_advance_devs_to_next_bucket
authorGabriel Shahrouzi <gshahrouzi@gmail.com>
Fri, 4 Apr 2025 01:28:21 +0000 (21:28 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 6 Apr 2025 23:13:43 +0000 (19:13 -0400)
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 <gshahrouzi@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/journal_io.c

index 1b7961f4f609e3dc867c3e2cb1a1ad7c761e2928..2a54ac79189bf189735f0f06f9e338ebcf70783b 100644 (file)
@@ -1460,7 +1460,7 @@ fsck_err:
 
 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);