bdev_stack_limits — adjust queue limits for stacked drivers
Synopsis
intbdev_stack_limits(
struct queue_limits *t,
struct block_device *bdev,
sector_tstart);
Arguments
struct queue_limits * t
the stacking driver limits (top device)
struct block_device * bdev
the component block_device (bottom)
sector_t start
first data sector within component device
Description
Merges queue limits for a top device and a block_device. Returns 0 if alignment didn't change. Returns -1 if adding the bottom device caused misalignment.