diff options
author | 2023-11-09 21:06:05 +0000 | |
---|---|---|
committer | 2023-12-29 11:58:23 -0800 | |
commit | 808441943f6b817f4836752c6e0d1c07507f375e (patch) | |
tree | 9e0bfb78c6f9a01d78ed79ff37321aadc9317ef2 /mm/rmap.c | |
parent | buffer: fix grow_buffers() for block size > PAGE_SIZE (diff) | |
download | wireguard-linux-808441943f6b817f4836752c6e0d1c07507f375e.tar.xz wireguard-linux-808441943f6b817f4836752c6e0d1c07507f375e.zip |
buffer: cast block to loff_t before shifting it
While sector_t is always defined as a u64 today, that hasn't always been
the case and it might not always be the same size as loff_t in the future.
Link: https://lkml.kernel.org/r/20231109210608.2252323-5-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Luis Chamberlain <mcgrof@kernel.org>
Cc: Pankaj Raghav <p.raghav@samsung.com>
Cc: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/rmap.c')
0 files changed, 0 insertions, 0 deletions