Files
mirror_zfs/module/os/linux/zfs
Coleman Kane 1c24bf966c Linux 5.14 compat: explicity assign set_page_dirty
Kernel 5.14 introduced a change where set_page_dirty of
struct address_space_operations is no longer implicitly set to
__set_page_dirty_buffers(), which ended up resulting in a NULL
pointer deref in the kernel when it is attempted to be called.
This change sets .set_page_dirty in the structure to
__set_page_dirty_nobuffers(), which was introduced with the
related patch set. The breaking change was introduce in commit
0af573780b0b13fceb7fabd49dc1b073cee9a507 to torvalds/linux.git.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Coleman Kane <ckane@colemankane.org>
Closes #12427
2021-07-26 10:55:55 -07:00
..
2021-03-19 21:00:59 -07:00
2019-09-12 13:33:44 -07:00
2019-09-12 13:33:44 -07:00
2020-11-13 13:51:51 -08:00
2021-06-22 21:53:45 -07:00
2020-04-10 10:33:35 -07:00
2021-06-11 17:00:33 -07:00
2021-06-23 17:57:06 -06:00
2021-07-23 15:28:03 -07:00