diff options
author | Brian Behlendorf <[email protected]> | 2020-12-22 13:02:59 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2020-12-27 16:20:33 -0800 |
commit | 72ba4b2a4ca8c55bc8e8350126de2e9f18e75900 (patch) | |
tree | 56288eb0e3337af212c34edd2e0704eb5acc5430 /rpm | |
parent | a970f0594e9f67363dece8e0ed066e3eb7725bb4 (diff) |
Linux 5.11 compat: bdev_whole()
The bd_contains member was removed from the block_device structure.
Callers needing to determine if a vdev is a whole block device should
use the new bdev_whole() wrapper. For older kernels we provide our
own bdev_whole() wrapper which relies on bd_contains for compatibility.
Reviewed-by: Rafael Kitover <[email protected]>
Reviewed-by: Coleman Kane <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #11387
Closes #11390
Diffstat (limited to 'rpm')
0 files changed, 0 insertions, 0 deletions