summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/sunplus_wdt.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-03-06 15:03:28 +0100
committerJens Axboe <axboe@kernel.dk>2024-03-06 16:30:34 +0100
commit2828908d5cc8396e7c91d04d67e03ed834234bcd (patch)
tree452bac36f70a90e7ffb9b9dc1dc9b66c39e0fe32 /drivers/watchdog/sunplus_wdt.c
parentdrbd: refactor drbd_reconsider_queue_parameters (diff)
downloadlinux-2828908d5cc8396e7c91d04d67e03ed834234bcd.tar.xz
linux-2828908d5cc8396e7c91d04d67e03ed834234bcd.zip
drbd: refactor the backing dev max_segments calculation
Factor out a drbd_backing_dev_max_segments helper that checks the backing device limitation. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Philipp Reisner <philipp.reisner@linbit.com> Reviewed-by: Lars Ellenberg <lars.ellenberg@linbit.com> Tested-by: Christoph Böhmwalder <christoph.boehmwalder@linbit.com> Link: https://lore.kernel.org/r/20240306140332.623759-4-philipp.reisner@linbit.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/watchdog/sunplus_wdt.c')
0 files changed, 0 insertions, 0 deletions