diff options
| author | Pankaj Raghav <[email protected]> | 2025-06-30 10:40:18 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2025-07-08 14:48:12 +0000 |
| commit | 25050181b61aa0153f3a378a5472d134f8e4ef25 (patch) | |
| tree | 65f9f5a249d74e3bd6ca7245da8a01c861dc418a /drivers/pci/controller/pci-host-common.c | |
| parent | fs/buffer: remove the min and max limit checks in __getblk_slow() (diff) | |
| download | kernel-25050181b61aa0153f3a378a5472d134f8e4ef25.tar.gz kernel-25050181b61aa0153f3a378a5472d134f8e4ef25.zip | |
fs/libfs: don't assume blocksize <= PAGE_SIZE in generic_check_addressable
Since [1], it is possible for filesystems to have blocksize > PAGE_SIZE
of the system.
Remove the assumption and make the check generic for all blocksizes in
generic_check_addressable().
[1] https://lore.kernel.org/linux-xfs/[email protected]/
Reviewed-by: Jan Kara <[email protected]>
Signed-off-by: Pankaj Raghav <[email protected]>
Link: https://lore.kernel.org/[email protected]
Reviewed-by: Zhang Yi <[email protected]>
Reviewed-by: Baokun Li <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions
