diff options
author | 2024-06-29 18:08:20 -0400 | |
---|---|---|
committer | 2024-07-14 19:00:16 -0400 | |
commit | 27d033df35154256e0063450d651000bd1b36d72 (patch) | |
tree | 6eefd723d80bdbb220bcd8ff249bd00013cb9b0a /fs/bcachefs/clock_types.h | |
parent | bcachefs: Improve startup message (diff) | |
download | wireguard-linux-27d033df35154256e0063450d651000bd1b36d72.tar.xz wireguard-linux-27d033df35154256e0063450d651000bd1b36d72.zip |
bcachefs: Convert clock code to u64s
Eliminate possible integer truncation bugs on 32 bit
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/clock_types.h')
-rw-r--r-- | fs/bcachefs/clock_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/bcachefs/clock_types.h b/fs/bcachefs/clock_types.h index 5fae0012d808..9c25d0fcf294 100644 --- a/fs/bcachefs/clock_types.h +++ b/fs/bcachefs/clock_types.h @@ -17,7 +17,8 @@ typedef void (*io_timer_fn)(struct io_timer *); struct io_timer { io_timer_fn fn; - unsigned long expire; + void *fn2; + u64 expire; }; /* Amount to buffer up on a percpu counter */ |