mirror_zfs/module/os
Rob Norris 7ca7bb7fd7 Linux 5.16: use bdev_nr_bytes() to get device capacity
This helper was introduced long ago, in 5.16. Since 6.10, bd_inode no
longer exists, but the helper has been updated, so detect it and use it
in all versions where it is available.

Signed-off-by: Rob Norris <robn@despairlabs.com>
Sponsored-by: https://despairlabs.com/sponsor/
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
2024-07-15 17:10:06 -07:00
..
freebsd FreeBSD: Use the new freeuio() helper to free dynamically allocated UIOs (#16300) 2024-07-11 16:52:51 -07:00
linux Linux 5.16: use bdev_nr_bytes() to get device capacity 2024-07-15 17:10:06 -07:00