dm-writeboost dkms: build failure with linux-hwe-5.11
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dm-writeboost (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
The following build error is reported when building this module with the new linux-hwe-5.11:
dm-writeboost-
984 | struct superblock_
| ^~~~~~~
dm-writeboost-
985 | err = read_superblock
| ^~~~~~
| record_id
[Test plan]
$ sudo apt install dm-writeboost-dkms
Build error in reported in the build log.
[Fix]
Fix by applying the following upstream commits (from https:/
32fc003 - Fix Linux 5.9 build: remove uninitialized_var() usage
d89ea5c - blkdev_issue_flush: discard unused memory allocation flags
[Where problems could occur]
Potential build breakage with some really old kernels.
[Other]
NB! dkms ftbfs fixes must be built in security, such that after SRU process in -proposed & -updates it can be copied into -security pocket too.
debdiff in attach seems to fix the build errors with 5.11.