Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Linux 5.11 compat: revalidate_disk_size() | Brian Behlendorf | 2020-12-27 | 1 | -3/+25 |
| | | | | | | | | | | | | | | | Both revalidate_disk_size() and revalidate_disk() have been removed. Functionally this isn't a problem because we only relied on these functions to call zvol_revalidate_disk() for us and to perform any additional handling which might be needed for that kernel version. When neither are available we know there's no additional handling needed and we can directly call zvol_revalidate_disk(). Reviewed-by: Rafael Kitover <[email protected]> Reviewed-by: Coleman Kane <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #11387 Closes #11390 | ||||
* | Linux 5.10 compat: revalidate_disk_size() added | Coleman Kane | 2020-11-02 | 1 | -0/+24 |
A new function was added named revalidate_disk_size() and the old revalidate_disk() appears to have been deprecated. As the only ZFS code that calls this function is zvol_update_volsize, swapping the old function call out for the new one should be all that is required. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Coleman Kane <[email protected]> Closes #11085 |